Re: strict locking and kernel oplocks in the smb.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 30, 2011 at 11:28:43AM -0700, Philip Ong wrote:
> 1) Does "strict locking = no" negate "kernel oplocks = yes" ?

No.

> 2) What's the difference between the two?

One controls kernel oplocks, the other one controls whether smbd
checks SMB/SMB2/CIFS read/write requests against existing mandatory
locks.

> 3) What a good way to test if a file got a lock seen from the linux side and the windows side?

cat /proc/locks

On windows, write a Win32 program.

> 4) If a file has a lock, does that mean you can still open the file in linux or in windows, but can't write to it?

A lock from who ? CIFS/NFS/local process ?

> Any clarification between the two would be helpful.

Hope this helps.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Index of Archives]     [Info Cyrus]     [LARTC]     [Bugtraq]     [Netfilter]     [RAID]     [Trinity TED Users]     [Yosemite News]
  Powered by Linux