[Samba] samba 3.6.9-164 - is "kernel oplocks = no" option viable on purely Samba shared FS?

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Sep 25 13:56:06 MDT 2014


On Mon, Sep 22, 2014 at 09:40:06AM -0700, Jeremy Allison wrote:
> On Sun, Sep 21, 2014 at 07:33:19AM +0200, Karel Lang AFD wrote:
> > 2 questions:
> > 
> > 1.
> > In scenario, where you have purely data storage filesystem (no apps,
> > databases anything), shared only over Samba and accessed only by
> > windows client workstations - would it be OK to use the "kernel
> > oplocks = no" option?
> 
> Yes.
> 
> > 2.
> > is the "kernel oplocks = no" still Global option??
> 
> Yes.

Is that really true?

Master has

use_kernel = lp_kernel_oplocks(SNUM(fsp->conn))

which means we have per-share kernel oplocks.

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
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba mailing list