summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/filename/vetooplockfiles.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/smbdotconf/filename/vetooplockfiles.xml')
-rw-r--r--docs/smbdotconf/filename/vetooplockfiles.xml27
1 files changed, 14 insertions, 13 deletions
diff --git a/docs/smbdotconf/filename/vetooplockfiles.xml b/docs/smbdotconf/filename/vetooplockfiles.xml
index b5ef0df5a6..b99ab00385 100644
--- a/docs/smbdotconf/filename/vetooplockfiles.xml
+++ b/docs/smbdotconf/filename/vetooplockfiles.xml
@@ -3,28 +3,29 @@
type="string"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
- <para>This parameter is only valid when the
- <smbconfoption name="oplocks"/>
+ <para>
+ This parameter is only valid when the <smbconfoption name="oplocks"/>
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
- <smbconfoption name="veto files"/>
- parameter.</para>
+ <smbconfoption name="veto files"/> 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>
+ <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>
<para>
An example of use is:
-<screen>
+<programlisting>
veto oplock files = /.*SEM/
-</screen>
+</programlisting>
</para>
</description>
<value type="default"><comment>No files are vetoed for oplock grants</comment></value>