e80598d463c6fb141fc1326abadf4293cd48fd4d
[samba.git] / docs / smbdotconf / tuning / usesendfile.xml
1 <samba:parameter name="use sendfile"
2                  context="S"
3                                  type="boolean"
4                  xmlns:samba="http://samba.org/common">
5 <description>
6     <para>If this parameter is <constant>yes</constant>, and Samba
7     was built with the --with-sendfile-support option, and the underlying operating
8     system supports sendfile system call, then some SMB read calls (mainly ReadAndX
9     and ReadRaw) will use the more efficient sendfile system call for files that
10     are exclusively oplocked. This may make more efficient use of the system CPU's
11     and cause Samba to be faster. This is off by default as it's effects are unknown
12     as yet. In particular, it appears that Windows 9X clients fail to work against
13     Samba with this parameter enabled in config.</para>
14 </description>
15
16 <value type="default">no</value>
17 </samba:parameter>