Re: fcntl(F GETLEASE) semantics??

From: Trond Myklebust
Date: Thu Aug 11 2005 - 06:52:25 EST


to den 11.08.2005 Klokka 10:14 (+0200) skreiv Michael Kerrisk:

> No. The behavior in Linux recently, and arbitrarily (IMO) changed:

The change was NOT arbitrary. It was deliberate and for the reasons
stated.

The whole point of leases is to support CIFS oplocks for Samba and NFSv4
delegations in the kernel. Both have the same specific expected
behaviour.
The original deviates from that expected behaviour by allowing you to
get a shared lease when in a condition that does not allow actual
sharing.

Cheers,
Trond

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