Re: kNFS troubles (2.2.14pre15, Mandrake 7.0)

From: Mike Eisler (mre@eng.sun.com)
Date: Mon Jan 24 2000 - 14:47:58 EST


>
>
> On Mon, 24 Jan 2000, Olaf Kirch wrote:
> >
> > The reason knfsd refuses to touch a file with the mandatory locking bit
> > on is that I wasn't sure how to deal with it. Blocking the server thread
> > isn't an option.
>
> I think we should just silently ignore mandatory locking over NFS. There's
> no way to make it work anyway, so why bother? And failing such a file is
> just too impolite..

And pretending that it is getting locked, which is what servicing the requests
for file is tantamount to, is polite? An error should be returned on any
NFSv[23] i/o request to a file that has the mandatory lock bit set.

> Mandatory locking is a silly thing in the first place, imnsho.

Absolute agreement there.

        -mre

-
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/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:13 EST