summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/tuning/usesendfile.xml
blob: 8c26fa2a52a9bc4e7829b2934088f48a65394e5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<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 the <constant>sendfile()</constant> system call is supported by the underlying operating system, 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. 
    </para>
</description>

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