[Samba] aio-pthread, conflicting param info

Jeremy Allison jra at samba.org
Thu Mar 8 21:28:26 UTC 2018

On Thu, Mar 08, 2018 at 09:00:48PM +0000, Stilez via samba wrote:
> In the vfs pages for aio_pthread, it gives as an example for aio read/write
> size, 1024 for each and states an "appropriate" value must be set.
> Byt in smb.conf it states that the only reasonable values are 0 or 1 (also
> that there's a default = 1 so no value need be given explicitly).
> Which of these is correct?

Both :-). Back before we fixed the bug where MacOS-X violates
the SMB2 spec by chaining a open/write/close without expecting
the write to go async then setting 1024 was the "correct" thing
to do to allow Mac's to write their version of SMB2 symlinks.

Now we've fixed that bug, and it's safe to always do async
reads/writes, then setting them to 0 (always off) and 1 (always on)
is really the only two settings you need.

More information about the samba mailing list