is_locked optimization

Jeremy Allison jra at samba.org
Sat Dec 11 21:52:37 GMT 2004


On Sun, Dec 12, 2004 at 12:42:37AM +1100, tridge at samba.org wrote:
> 
> hmm, very good point! The flush on oplock break happens with the
> oplock still held. The optimisation would need to handle that.

No it doesn't. We're depending on the client flushing the
held byte range locks to the server at break time. Windows
clients do this - I've seen it.

> I'm rather skeptical that this optimisation is worth it.

I'm not asking you to add it to Samba4 :-). I can micro benchmark
it later.

Jeremy.


More information about the samba-technical mailing list