[linux-cifs-client][patch] get security descriptor results in oplock
break
Shirish Pargaonkar
shirishpargaonkar at gmail.com
Thu Mar 13 17:32:59 GMT 2008
With cifsacl mount option, when a file is created on the Windows server,
exclusive oplock is broken right away because the get cifs acl code
again opens the file
to obtain security descriptor.
The client does not have the newly created file handle or inode in any
of its lists yet
so it does not respond to oplock break and the server waits for its
set duration and
then responds to the second open. This slows down file creation signficantly.
The fix is to pass the file descriptor to the get cifsacl code
wherever available
so that get cifs acl code does not send second open (NT Create ANDX)
and oplock is
not broken.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lockbreak.2.patch
Type: application/octet-stream
Size: 7611 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux-cifs-client/attachments/20080313/c6b4d3e1/lockbreak.2.obj
More information about the linux-cifs-client
mailing list