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
msg06339/pgp00000.pgp
Description: PGP signature