[cifs-protocol] [EXTERNAL] Re: [REG:120030321000983] SMB2: opening file for READ_CONTROL doesn't trigger lease break

Ralph Boehme slow at samba.org
Wed Mar 4 14:20:21 UTC 2020


HI Jeff,

Am 3/4/20 um 10:53 AM schrieb Ralph Boehme via cifs-protocol:
> Am 3/3/20 um 10:23 PM schrieb Jeff McCashland:
>> However, note that legacy Oplocks do break on READ_CONTROL. If I understand our source code correctly, Leases never broke on READ_CONTROL, but we didn't catch the variance in the doc. 
> 
> I was afraid that this would be the case. :)
> 
> Just to be sure, I'll rewrite the testcase with oplocks instead of leases.

confirmed, trace attached (packets 123 ff). Are we sure this behaviour
is by design and not a bug?

Thanks!
-slow

-- 
Ralph Boehme, Samba Team                https://samba.org/
Samba Developer, SerNet GmbH   https://sernet.de/en/samba/
GPG-Fingerprint   FAE2C6088A24252051C559E4AA1E9B7126399E46
-------------- next part --------------
A non-text attachment was scrubbed...
Name: windows2016-READ_CONTROL-oplock-break.pcapng
Type: application/x-pcapng
Size: 40376 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/cifs-protocol/attachments/20200304/431ae546/windows2016-READ_CONTROL-oplock-break-0001.bin>


More information about the cifs-protocol mailing list