Bug 1731906 - Remove 'aio read size = 4096' setting from default smb.conf
Summary: Remove 'aio read size = 4096' setting from default smb.conf
Keywords:
Status: ON_QA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: samba
Version: rhgs-3.5
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
: RHGS 3.5.z Async Update
Assignee: Anoop C S
QA Contact: Vivek Das
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-22 11:18 UTC by Anoop C S
Modified: 2020-02-19 02:14 UTC (History)
4 users (show)

Fixed In Version: samba-4.11.6-102.el7rhgs, samba-4.11.6-102.el8rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description Anoop C S 2019-07-22 11:18:50 UTC
Description of problem:
It has been sometime that 'aio read size' parameter has changed its internal implementation/logic to determine whether to perform read in asynchronous mode. With its default being '1' this boils down to the fact that a non-zero value for 'aio read size' would itself is sufficient to enable asynchronous read and is clear from man smb.conf(5). Therefore current setting of 'aio read size' to 4096 is no longer reasonable.

From man smb.conf(5):

-------------8<----------------8<---------------8<---------------8<-------------
aio read size (S)

           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. The only reasonable values for this parameter are 0 (no async I/O) and 1 (always do async I/O).

-------------8<----------------8<---------------8<---------------8<-------------


Note You need to log in before you can comment on or make changes to this bug.