1 <samba:parameter name="veto oplock files"
4 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
6 <para>This parameter is only valid when the
7 <smbconfoption name="oplocks"/>
8 parameter is turned on for a share. It allows the Samba administrator
9 to selectively turn off the granting of oplocks on selected files that
10 match a wildcarded list, similar to the wildcarded list used in the
11 <smbconfoption name="veto files"/>
15 <para>You might want to do this on files that you know will
16 be heavily contended for by clients. A good example of this
17 is in the NetBench SMB benchmark program, which causes heavy
18 client contention for files ending in <filename moreinfo="none">.SEM</filename>.
19 To cause Samba not to grant oplocks on these files you would use
20 the line (either in the [global] section or in the section for
21 the particular NetBench share :</para>
26 veto oplock files = /.*SEM/
30 <value type="default"><comment>No files are vetoed for oplock grants</comment></value>