mirror of
https://github.com/samba-team/samba.git
synced 2025-01-05 09:18:06 +03:00
e2ebfd8e08
Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Jul 25 06:28:21 CEST 2018 on sn-devel-144
30 lines
1.3 KiB
XML
30 lines
1.3 KiB
XML
<samba:parameter name="kernel oplocks"
|
|
type="boolean"
|
|
context="S"
|
|
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
|
<description>
|
|
<para>For UNIXes that support kernel based <smbconfoption name="oplocks"/>
|
|
(currently only Linux), this parameter allows the use of them to be
|
|
turned on or off. However, this disables Level II oplocks for clients as
|
|
the Linux kernel does not support them properly.</para>
|
|
|
|
<para>Kernel oplocks support allows Samba <parameter moreinfo="none">oplocks
|
|
</parameter> to be broken whenever a local UNIX process or NFS operation
|
|
accesses a file that <citerefentry><refentrytitle>smbd</refentrytitle>
|
|
<manvolnum>8</manvolnum></citerefentry> has oplocked. This allows complete
|
|
data consistency between SMB/CIFS, NFS and local file access (and is
|
|
a <emphasis>very</emphasis> cool feature :-).</para>
|
|
<para>If you do not need this interaction, you should disable the
|
|
parameter on Linux to get Level II oplocks and the associated
|
|
performance benefit.</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>
|
|
<related>smb2 leases</related>
|
|
<value type="default">no</value>
|
|
</samba:parameter>
|