From: Volker Lendecke Date: Mon, 20 Nov 2017 16:18:44 +0000 (+0100) Subject: docs: Fix the "aio r/w size" smb.conf entries X-Git-Tag: talloc-2.1.11~424 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8212c34ae409f64615a53f9665134a3e7a04312d;p=thirdparty%2Fsamba.git docs: Fix the "aio r/w size" smb.conf entries Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Tue Nov 21 15:45:20 CET 2017 on sn-devel-144 --- diff --git a/docs-xml/smbdotconf/tuning/aioreadsize.xml b/docs-xml/smbdotconf/tuning/aioreadsize.xml index 0c9cc529ed8..c6028b8f9ac 100644 --- a/docs-xml/smbdotconf/tuning/aioreadsize.xml +++ b/docs-xml/smbdotconf/tuning/aioreadsize.xml @@ -3,20 +3,17 @@ type="bytes" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - 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 + 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. - - Current implementation of asynchronous I/O in Samba 3.0 does support - only up to 10 outstanding asynchronous requests, read and write combined. - + The only reasonable values for this parameter are 0 (no async I/O) and + 1 (always do async I/O). write cache size aio write size 0 -16384 Use asynchronous I/O for reads bigger than 16KB - request size +1Always do reads asynchronously + diff --git a/docs-xml/smbdotconf/tuning/aiowritesize.xml b/docs-xml/smbdotconf/tuning/aiowritesize.xml index c2ad118def0..8f42284111e 100644 --- a/docs-xml/smbdotconf/tuning/aiowritesize.xml +++ b/docs-xml/smbdotconf/tuning/aiowritesize.xml @@ -3,20 +3,22 @@ type="bytes" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - 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 + 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. - - Current implementation of asynchronous I/O in Samba 3.0 does support - only up to 10 outstanding asynchronous requests, read and write combined. + The only reasonable values for this parameter are 0 (no async I/O) and + 1 (always do async I/O). + Compared to 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. write cache size aio read size 0 -16384 Use asynchronous I/O for writes bigger than 16KB - request size +1Always do writes asynchronously +