~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to docs-xml/smbdotconf/tuning/usesendfile.xml

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<samba:parameter name="use sendfile"
 
2
                 context="S"
 
3
                                 type="boolean"
 
4
                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
 
5
<description>
 
6
    <para>If this parameter is <constant>yes</constant>, and the <constant>sendfile()</constant> 
 
7
    system call is supported by the underlying operating system, then some SMB read calls 
 
8
    (mainly ReadAndX and ReadRaw) will use the more efficient sendfile system call for files that
 
9
    are exclusively oplocked. This may make more efficient use of the system CPU's
 
10
    and cause Samba to be faster. Samba automatically turns this off for clients
 
11
    that use protocol levels lower than NT LM 0.12 and when it detects a client is
 
12
    Windows 9x (using sendfile from Linux will cause these clients to fail).
 
13
    </para>
 
14
</description>
 
15
 
 
16
<value type="default">false</value>
 
17
</samba:parameter>