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

<value type="default">no</value>
</samba:parameter>