[Samba] samba 3.6.9-164 - is "kernel oplocks = no" option viable on purely Samba shared FS?
Jeremy Allison
jra at samba.org
Thu Sep 25 16:05:18 MDT 2014
On Thu, Sep 25, 2014 at 09:56:06PM +0200, Volker Lendecke wrote:
> 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.
Oh ! Serves me right for not checking the
code before speaking. It *used* to be global :-).
Sorry Karel, I gave you bad advice there !
Thanks for checking Volker !
Jeremy.
More information about the samba
mailing list