[Samba] Re: How Samba let us down
Steve Langasek
vorlon at netexpress.net
Wed Oct 23 15:16:20 GMT 2002
On Wed, Oct 23, 2002 at 05:25:56AM -0700, Jay Ts wrote:
> kernel oplocks are for synchronizing SMB clients and
> local Unix processes. If you have no processes on linux
> accessing the files, then it's probably safe to disable them.
> But, if you are using Linux, the only way you should have
> kernel oplocks enabled in the first place is if you have
> installed the kernel ACL patch, or are running XFS filesystem.
> Some newer distributions come with the ACL patch installed,
> I think. What version of Linux are you running?
Kernel oplock support is orthogonal to ACL support. Kernel oplocks are
supported by the mainline 2.4 Linux kernels.
It is true that you only need kernel oplocks if the files will be
accessed from both Samba and other Linux apps. It's also the case that
some Linux kernels had buggy kernel oplock support (I don't remember
which kernels, specifically). It may help to turn kernel oplock support
off. I would not turn off oplock support itself without a stronger
indicator that it's the source of the trouble, since oplocks normally
*improve* performance.
Steve Langasek
postmodern programmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20021023/73ec7825/attachment.bin
More information about the samba
mailing list