BUILD_FARM_HACKS and vfs_aio_fork

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Aug 21 03:32:19 MDT 2012


On Tue, Aug 21, 2012 at 06:47:28PM +1000, Andrew Bartlett wrote:
> 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?

That should be it I think. With the "new" python code more
tests torturing that a bit more are easier to write than
with tevent_req, but that is probably something for later.

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
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba-technical mailing list