1 <samba:parameter name="kernel oplocks"
4 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
6 <para>For UNIXes that support kernel based <smbconfoption name="oplocks"/>
7 (currently only Linux), this parameter allows the use of them to be
8 turned on or off. However, this disables Level II oplocks for clients as
9 the Linux kernel does not support them properly.</para>
11 <para>Kernel oplocks support allows Samba <parameter moreinfo="none">oplocks
12 </parameter> to be broken whenever a local UNIX process or NFS operation
13 accesses a file that <citerefentry><refentrytitle>smbd</refentrytitle>
14 <manvolnum>8</manvolnum></citerefentry> has oplocked. This allows complete
15 data consistency between SMB/CIFS, NFS and local file access (and is
16 a <emphasis>very</emphasis> cool feature :-).</para>
17 <para>If you do not need this interaction, you should disable the
18 parameter on Linux to get Level II oplocks and the associated
19 performance benefit.</para>
21 <para>This parameter defaults to <constant>no</constant> and is translated
22 to a no-op on systems that do not have the necessary kernel support.</para>
25 <related>oplocks</related>
26 <related>level2 oplocks</related>
27 <related>smb2 leases</related>
28 <value type="default">no</value>