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