1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00
samba-mirror/docs/smbdotconf/filename/vetooplockfiles.xml
Jelmer Vernooij 992f1e6b8f Add all the source files from the old CVS tree,
add the 5 missing chapters from the HOWTO
and add jht's Samba by Example book.
(This used to be commit 9fb5bcb93e57c5162b3ee6f9c7d777dc0269d100)
2008-04-23 08:45:43 -05:00

26 lines
1.2 KiB
XML

<samba:parameter name="veto oplock files"
context="S"
type="string"
xmlns:samba="http://samba.org/common">
<description>
<para>This parameter is only valid when the <link linkend="OPLOCKS">
<parameter moreinfo="none">oplocks</parameter></link>
parameter is turned on for a share. It allows the Samba administrator
to selectively turn off the granting of oplocks on selected files that
match a wildcarded list, similar to the wildcarded list used in the
<link linkend="VETOFILES"><parameter moreinfo="none">veto files</parameter></link>
parameter.</para>
<para>You might want to do this on files that you know will
be heavily contended for by clients. A good example of this
is in the NetBench SMB benchmark program, which causes heavy
client contention for files ending in <filename moreinfo="none">.SEM</filename>.
To cause Samba not to grant oplocks on these files you would use
the line (either in the [global] section or in the section for
the particular NetBench share :</para>
</description>
<value type="default"><comment>No files are vetoed for oplock grants</comment></value>
<value type="example">/.*SEM/</value>
</samba:parameter>