[Samba] enabling async feature

Jeremy Allison jra at samba.org
Fri May 29 19:34:55 UTC 2020


On Fri, May 29, 2020 at 03:42:06PM +0900, Jeygon Kim via samba wrote:
> Hi.
> 
> I've been recently looking into asynchronous feature and currently stuck
> with few stuff that I would appreciate to get some help with.
> 
> 1. I tried turning on the feature by setting 'server multi channel support
> = yes', 'aio read size = 1' and 'aio write size = 1' and I couldn't figure
> out whether it was really working or not. Is there any way I can verify
> this?
> 
> 2. Is there anything else I have to do except configuring smb.conf to turn
> on aio? To what I have googled, it says that you have to compile with
> --with-aio-support (which I couldn't find) and client also has to support
> the feature (which I also couldn't find any options related to it)

aio is on by default in modern samba.

> 3. Is ASYNC flag in SMB header related to this feature? Cause it was always
> turned off no matter what I did.

smbd will set ASYNC when returning an intermediate response
to a request that has gone async. If you're not seeing this,
you're not driving the server hard enough.



More information about the samba mailing list