sync packagaing with SAMBA_3_0
[kai/samba.git] / docs / docbook / smbdotconf / tuning / usesendfile.xml
1 <samba:parameter xmlns:samba="http://samba.org/common">
2                 <term><anchor id="USESENDFILE"/>use sendfile (S)</term>
3                 <listitem><para>If this parameter is <constant>yes</constant>, and Samba
4                 was built with the --with-sendfile-support option, and the underlying operating
5                 system supports sendfile system call, then some SMB read calls (mainly ReadAndX
6                 and ReadRaw) will use the more efficient sendfile system call for files that
7                 are exclusively oplocked. This may make more efficient use of the system CPU's
8                 and cause Samba to be faster. This is off by default as it's effects are unknown
9                 as yet.
10                 </para>
11
12                 <para>Default: <command moreinfo="none">use sendfile = no</command></para>
13                 </listitem>
14                 </samba:parameter>