Next update of VFS modules development guide
[kai/samba-autobuild/.git] / docs / smbdotconf / tuning / usesendfile.xml
1 <samba:parameter name="use sendfile"
2                  context="S"
3                                  type="boolean"
4                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
5 <description>
6     <para>If this parameter is <constant>yes</constant>, and the <constant>sendfile()</constant> 
7     system call is supported by the underlying operating system, then some SMB read calls 
8     (mainly ReadAndX and ReadRaw) will use the more efficient sendfile system call for files that
9     are exclusively oplocked. This may make more efficient use of the system CPU's
10     and cause Samba to be faster. Samba automatically turns this off for clients
11     that use protocol levels lower than NT LM 0.12 and when it detects a client is
12     Windows 9x (using sendfile from Linux will cause these clients to fail).
13     </para>
14 </description>
15
16 <value type="default">false</value>
17 </samba:parameter>