[linux-cifs-client][patch] get security descriptor results in oplock break

Shirish Pargaonkar shirishpargaonkar at gmail.com
Fri Mar 14 19:51:33 GMT 2008


On 3/13/08, Shirish Pargaonkar <shirishpargaonkar at gmail.com> wrote:
> 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.
>
>

Another version, this time with fileHandle as a pointer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lockbreak.3.patch
Type: application/octet-stream
Size: 7712 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux-cifs-client/attachments/20080314/01d3c32f/lockbreak.3-0001.obj


More information about the linux-cifs-client mailing list