[cifs-protocol] [EXTERNAL] Re: [REG:120030321000983] SMB2: opening file for READ_CONTROL doesn't trigger lease break
slow at samba.org
Wed Mar 4 09:53:59 UTC 2020
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.
Ralph Boehme, Samba Team https://samba.org/
Samba Developer, SerNet GmbH https://sernet.de/en/samba/
More information about the cifs-protocol