1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/docs-xml/smbdotconf/tuning/usesendfile.xml
Garming Sam d2c8f4e250 docs: insert meta data into use sendfile parameter
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2014-02-02 22:55:25 +01:00

19 lines
906 B
XML

<samba:parameter name="use sendfile"
context="S"
type="boolean"
function="_use_sendfile"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<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. Samba automatically turns this off for clients
that use protocol levels lower than NT LM 0.12 and when it detects a client is
Windows 9x (using sendfile from Linux will cause these clients to fail).
</para>
</description>
<value type="default">no</value>
</samba:parameter>