Web lists-archives.com

Re: [Samba] aio-pthread, conflicting param info

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.

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba