Samba 3.0.32 - oplock code

Volker Lendecke Volker.Lendecke at SerNet.DE
Fri Dec 12 13:26:01 GMT 2008

On Wed, Dec 10, 2008 at 05:20:05PM +0200, Itay Dar wrote:
> I am reading the oplock granting code in samba 3.0.32 And I have a
> question, if I may.
> It seems to me that if someone is asking for an exclusive lock or level
> two oplock when all other share lock owners of the files don't have any
> oplock (not even a fake level two)  he will be granted a level two
> oplock.
> But if one of the other clients will perform a write operation or
> anything else, he wont notify the level oplock 2 holder on the async
> oplock break needed.
> I have checked samba . 3.0.20, and it seems no oplock is granted in that
> case in the old version.

Stepping in a bit late... Can you extend the samba4 oplock
torture test to prove 3.2 wrong and 3.0.20 right?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the samba-technical mailing list