| 1 |
<samba:parameter name="aio write size" |
| 2 |
context="S" |
| 3 |
type="bytes" |
| 4 |
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> |
| 5 |
<description> |
| 6 |
<para>If this integer parameter is set to a non-zero value, |
| 7 |
Samba will write to files asynchronously when the request size is bigger |
| 8 |
than this value. Note that it happens only for non-chained and non-chaining |
| 9 |
writes.</para> |
| 10 |
<para>The only reasonable values for this parameter are 0 (no async I/O) and |
| 11 |
1 (always do async I/O).</para> |
| 12 |
<para>Compared to <smbconfoption name="aio read size"/> this parameter has |
| 13 |
a smaller effect, most writes should end up in the |
| 14 |
file system cache. Writes that require space allocation might |
| 15 |
benefit most from going asynchronous.</para> |
| 16 |
|
| 17 |
<related>aio read size</related> |
| 18 |
</description> |
| 19 |
|
| 20 |
<value type="default">1</value> |
| 21 |
<value type="example">0<comment>Always do writes synchronously |
| 22 |
</comment></value> |
| 23 |
</samba:parameter> |