Question about locking

Jeremy Allison jeremy at valinux.com
Thu Jul 26 20:22:49 GMT 2001


Joe Meslovich wrote:
> 
> 8476   DENY_NONE  RDWR       LEVEL_II  /export/home/facstaff/jatkins/eudo
> ra/OWNER.LOK   Thu Jul 26 11:57:18 2001
> 8476   DENY_NONE  RDWR       LEVEL_II  /export/home/facstaff/jatkins/eudo
> ra/OWNER.LOK   Thu Jul 26 11:55:54 2001
> 
>         The occurance of the dual LEVEL_II oplocks is what concerns me.
> How can a single process lock a file in a LEVEL_II lock twice?

level II oplocks are read caching oplocks. The point of them
is they aren't exclusive and multiple opens can cache read
data (until the first write).

Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------




More information about the samba-technical mailing list