summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/tuning/usesendfile.xml
blob: 5f2dcb72a94afda69e5c9468c1699c822fcbbb43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<samba:parameter xmlns:samba="http://samba.org/common">
		<term><anchor id="USESENDFILE"/>use sendfile (S)</term>
		<listitem><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.
		</para>

		<para>Default: <command moreinfo="none">use sendfile = no</command></para>
		</listitem>
		</samba:parameter>