1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-01 05:47:28 +03:00
Jeremy Allison 4128635e51 Updated with sepcifics of how we determine sendfile.
Jeremy.
(This used to be commit db41fa6b4183163e10a92c89245580626879a84a)
2008-04-23 08:46:00 -05:00

17 lines
839 B
XML

<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. 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">yes</value>
</samba:parameter>