BUILD_FARM_HACKS and vfs_aio_fork

Andrew Bartlett abartlet at samba.org
Tue Aug 21 02:47:28 MDT 2012


On Tue, 2012-08-21 at 09:52 +0200, Volker Lendecke wrote:
> On Tue, Aug 21, 2012 at 01:19:30PM +1000, Andrew Bartlett wrote:
> > I would appreciate to know your thoughts.
> 
> In the past, I have made it a #define due to speed concerns.
> But as aio_fork is pretty heavy-weight anyway, a flag in the
> VFS handle (similar to what the GPFS module does) evaluated
> at connect() time and queried on every async read and write
> might be appropriate here.

That should be quite practical to implement (been doing VFS stuff a lot
recently it seems!).  To automatically test it, will it be enough to add
an additional share using vfs_aio_fork and run (say) RW1 against it with
'aio read size = 1' and 'aio write size = 1'?  Is there anything else I
should know?

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list