summaryrefslogtreecommitdiffstats
path: root/docs-xml/smbdotconf/tuning/aioreadsize.xml
blob: 5218f34a6d634b0b30d0404c37bca67b88ecb8e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<samba:parameter name="aio read size"
                 context="S"
                 type="bytes"
                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
  <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.</para>
  <para>The only reasonable values for this parameter are 0 (no async I/O) and
    1 (always do async I/O).</para>
  <related>aio write size</related>
</description>

<value type="default">1</value>
<value type="example">0<comment>Always do reads synchronously
  </comment></value>
</samba:parameter>