[cifs-protocol] SMBv1 multiple lock cancel behavior
steven.danneman at isilon.com
Thu Dec 3 15:56:48 MST 2009
I've got yet another byte range locking question.
MS-CIFS (v0.1) states in section 18.104.22.168.1:
"If the Locks vector contains one and only one entry
1) and TypeOfLock has the CANCEL_LOCK bit set, the client is requesting
server cancel a previously requested but unacknowledged lock."
My newly pushed smbtorture4 test, part of RAW-LOCK-ASYNC, shows a W2K8R2
server accepting a request with the CANCEL_LOCK bit set that contains
multiple entries in the lock array, ie NumberOfRequestedLocks == 2. The
server then seems to cancel the first outstanding lock and return
More information about the cifs-protocol