mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3: switch off kernel oplocks by default
as discussed on samba-technical, turn kernel oplocks off by default to not leave users without the benefits of Level II oplocks
This commit is contained in:
parent
a8e9242a10
commit
d642afa7f1
@ -19,12 +19,11 @@
|
||||
parameter on Linux and IRIX to get Level II oplocks and the associated
|
||||
performance benefit.</para>
|
||||
|
||||
<para>This parameter defaults to <constant>on</constant>, but is translated
|
||||
to a no-op on systems that no not have the necessary kernel support.
|
||||
You should never need to touch this parameter.</para>
|
||||
<para>This parameter defaults to <constant>no</constant> and is translated
|
||||
to a no-op on systems that do not have the necessary kernel support.</para>
|
||||
</description>
|
||||
|
||||
<related>oplocks</related>
|
||||
<related>level2 oplocks</related>
|
||||
<value type="default">yes</value>
|
||||
<value type="default">no</value>
|
||||
</samba:parameter>
|
||||
|
@ -230,7 +230,7 @@ static struct loadparm_service sDefault =
|
||||
.bPosixLocking = true,
|
||||
.bShareModes = true,
|
||||
.bOpLocks = true,
|
||||
.bKernelOplocks = true,
|
||||
.bKernelOplocks = false,
|
||||
.bLevel2OpLocks = true,
|
||||
.bOnlyUser = false,
|
||||
.bMangledNames = true,
|
||||
|
Loading…
Reference in New Issue
Block a user