[Samba] strict locking and kernel oplocks in the smb.conf

Volker Lendecke Volker.Lendecke at SerNet.DE
Sat Oct 1 00:29:03 MDT 2011


On Fri, Sep 30, 2011 at 04:44:17PM -0700, Jeremy Allison wrote:
> On Fri, Sep 30, 2011 at 04:39:18PM -0700, Philip Ong wrote:
> > No other process is accessing it. So any idea why it would work fine without
> > "strict locking = no" in previous kernels below 2.6.36.3?
> 
> When "strict locking = yes" we make fcntl() locking query calls
> to make sure we're safe against existing POSIX locks.
> 
> The NFS locking code is probably just broken.

I think you're talking about "posix locking = yes/no".

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen


More information about the samba mailing list