[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 09:53:59 UTC 2020


Hi Jeff,

Am 3/3/20 um 10:23 PM schrieb Jeff McCashland:
> Presumably the change would be to add READ_CONTROL to the list in the section you referenced. I'll let you know when and if the document is updated.

thanks for clarifying.

> 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.

Thanks!
-slow

-- 
Ralph Boehme, Samba Team                https://samba.org/
Samba Developer, SerNet GmbH   https://sernet.de/en/samba/
GPG-Fingerprint   FAE2C6088A24252051C559E4AA1E9B7126399E46



More information about the cifs-protocol mailing list