summaryrefslogtreecommitdiff
path: root/docs/docbook/smbdotconf/tuning/usesendfile.xml
blob: e8b8213ec37314a0feb8790e4f749ba76b87de8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<samba:parameter name="use sendfile"
                 context="S"
                 xmlns:samba="http://samba.org/common">
<listitem>
    <para>If this parameter is <constant>yes</constant>, 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.</para>

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