mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
8f8a9f0190
(This used to be commit 9f672c26d6
)
27 lines
1.0 KiB
XML
27 lines
1.0 KiB
XML
<samba:parameter name="oplock contention limit"
|
|
context="S"
|
|
type="integer"
|
|
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
|
<description>
|
|
<para>
|
|
This is a <emphasis>very</emphasis> advanced <citerefentry><refentrytitle>smbd</refentrytitle>
|
|
<manvolnum>8</manvolnum></citerefentry> tuning option to improve the efficiency of the
|
|
granting of oplocks under multiple client contention for the same file.
|
|
</para>
|
|
|
|
<para>
|
|
In brief it specifies a number, which causes <citerefentry><refentrytitle>smbd</refentrytitle>
|
|
<manvolnum>8</manvolnum></citerefentry>not to grant an oplock even when requested if the
|
|
approximate number of clients contending for an oplock on the same file goes over this
|
|
limit. This causes <command moreinfo="none">smbd</command> to behave in a similar
|
|
way to Windows NT.
|
|
</para>
|
|
|
|
<warning><para>
|
|
DO NOT CHANGE THIS PARAMETER UNLESS YOU HAVE READ AND UNDERSTOOD THE SAMBA OPLOCK CODE.
|
|
</para></warning>
|
|
|
|
</description>
|
|
<value type="default">2</value>
|
|
</samba:parameter>
|