Re: PROBLEM: fcntl(F_GETLK) on NFS-mounted file makes machine unusable

baulig@castor.uni-trier.de
Wed, 02 Jun 1999 11:01:41 -0000


> Martin Baulig <martin@home-of-linux.org> writes:
>
> > This will make the system unusable as soon as it executes the fcntl ()
> > system call. The machine is still responding to ping () but I have not
> > managed to make it do anything productive after that (for instance a short
> > C program printing the current time serveral times a second stops either).
>
> Is your server capable of supporting the NLM locking protocol? The
> userspace nfs servers (Olaf Kirch's nfs-server) don't --as opposed to
> knfsd and most non-linux servers. NFS partitions from these kind of
> servers should be mounted using the 'nolock' mount option, and will
> only support local locks (i.e. they are not shared over the network).

However, if you don't use the 'nolock' option, this should only block
the process which is executing the fcntl (), but not the whole system.

This should be fixed in the kernel.

Martin

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/