1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

docs: Fix the "aio r/w size" smb.conf entries

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Nov 21 15:45:20 CET 2017 on sn-devel-144
This commit is contained in:
Volker Lendecke 2017-11-20 17:18:44 +01:00
parent c1b4a74f27
commit 8212c34ae4
2 changed files with 16 additions and 17 deletions

View File

@ -3,20 +3,17 @@
type="bytes"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>If Samba has been built with asynchronous I/O support and this
integer parameter is set to non-zero value,
Samba will read from file asynchronously when size of request is bigger
<para>If this integer parameter is set to a non-zero value,
Samba will read from files asynchronously when the request size is bigger
than this value. Note that it happens only for non-chained and non-chaining
reads and when not using write cache.</para>
<para>Current implementation of asynchronous I/O in Samba 3.0 does support
only up to 10 outstanding asynchronous requests, read and write combined.</para>
<para>The only reasonable values for this parameter are 0 (no async I/O) and
1 (always do async I/O).</para>
<related>write cache size</related>
<related>aio write size</related>
</description>
<value type="default">0</value>
<value type="example">16384<comment> Use asynchronous I/O for reads bigger than 16KB
request size</comment></value>
<value type="example">1<comment>Always do reads asynchronously
</comment></value>
</samba:parameter>

View File

@ -3,20 +3,22 @@
type="bytes"
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
<para>If Samba has been built with asynchronous I/O support and this
integer parameter is set to non-zero value,
Samba will write to file asynchronously when size of request is bigger
<para>If this integer parameter is set to a non-zero value,
Samba will write to files asynchronously when the request size is bigger
than this value. Note that it happens only for non-chained and non-chaining
reads and when not using write cache.</para>
<para>Current implementation of asynchronous I/O in Samba 3.0 does support
only up to 10 outstanding asynchronous requests, read and write combined.</para>
<para>The only reasonable values for this parameter are 0 (no async I/O) and
1 (always do async I/O).</para>
<para>Compared to <smbconfoption name="aio read size"/> this parameter has
a smaller effect, most writes should end up in the
file system cache. Writes that require space allocation might
benefit most from going asynchronous.</para>
<related>write cache size</related>
<related>aio read size</related>
</description>
<value type="default">0</value>
<value type="example">16384<comment> Use asynchronous I/O for writes bigger than 16KB
request size</comment></value>
<value type="example">1<comment>Always do writes asynchronously
</comment></value>
</samba:parameter>