OpLocks and file sizes.
Christian Ambach
ambi at samba.org
Fri Mar 30 04:29:31 MDT 2012
On 03/27/2012 09:54 PM, Christopher R. Hertel wrote:
> That's also true for OpLock support in general. It would be nice, for us,
> if the Linux kernel would only break leases for the same reasons that
> Windows does, but if there are additional reasons then the worst that will
> happen is that leases will be broken...so OpLocks will be broken. That's
> not really too bad.
I recently gave Kernel 3.2 a chance to see if the fcntl lease semantics
have improved after Bruce's recent changes.
But especially downgrading still does not work as Samba would require
it: to downgrade from write lease to read lease requires that the fd is
open in R/O mode. Samba however might have the fd open in R/W mode and
so the downgrade fails.
Cheers,
Christian
More information about the samba-technical
mailing list