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

simo idra at samba.org
Sat Mar 15 14:57:01 GMT 2008


On Thu, 2008-03-13 at 12:32 -0500, Shirish Pargaonkar 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.

Can you elaborate more on this point?
The CIFS client should never be in a state where it cannot respond to an
oplock break as that may cause serious problems on a network, are there
other cases you have seen in the code where we could be unable to reply
to an oplock break?

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Senior Software Engineer at Red Hat Inc. <ssorce at redhat.com>



More information about the linux-cifs-client mailing list