[Samba] samba 3.5.6 and AIO on Linux

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Jan 4 06:21:15 MST 2011

On Mon, Jan 03, 2011 at 11:13:32AM +0200, Ofer H wrote:
> I have been trying to enable AIO on ARMv5 Samba built with kernel headers
>, the configure indicated that AIO is supported via kernel headers
> and all went smooth (regarding the build process).
> Once I added the smb.conf 'aio write size=1' and tried to perform a file
> copy to the Samba share I noticed that 32K of the file (of the 1GB file)
> have been copied to the share but the file copy stalled and did not finish.
> I had to restart Samba to see that share since it was stuck, I have
> experienced the same fenomenon with XPsp2 and W7 clients.
> I also noticed that the Samba daemon that was forked as root (not as nobody
> as it usually does) and stayed blocked on some FUTEX taken.
> Can anyone confirm that AIO actually works on Linux, I have seen xBSD
> related mail claiming that it does work and brings nice performance
> improvement.

Yes, I've used that many times. To be honest, this smells
like a problem in glibc on your system. You might want to

vfs objects = aio_fork

With best regards,

Volker Lendecke

SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen

More information about the samba mailing list