open_file_shared()

Lyle Seaman lws at spinnakernet.com
Tue Apr 10 21:42:44 GMT 2001


jonathan bright wrote:

> 1- how oplocks are broken before share modes are checked.
>    (yes, i read the comment)

Breaking the oplock may  cause the share modes to change as a side
effect of a close by the client previously holding the oplock.  If that's
not clear enough, ask again. hint batch oplocks.  absent this behavior
you might never be able to get that second open through.

> 2. how each entry is processed one by one.  seems more sensible
> to break all of the oplocks in one pass, and then to wait for
 > acks from everyone.

I don't see why this couldn't be made to work. Beware packet storms.







More information about the samba-technical mailing list