[PATCH] Update to libaio?

Jeff Moyer jmoyer at redhat.com
Tue Jan 8 19:07:51 UTC 2008

Rusty Russell <rusty at rustcorp.com.au> writes:

> I recently tried to use libaio (0.3.106), and discovered it didn't have
> eventfd support.  Or preadv/pwritev support.  And the testsuite didn't
> compile.  Or work.
> Anyway, it's shipped by the distros, so I figure it's worth patching.
> I'm cc'ing Ben in the hope he's still maintaining it.  If not I'll
> find a home somewhere for it.

I've been keeping a copy on rhlinux.redhat.com.  You can access it

  cvs -d :pserver:anonymous at rhlinux.redhat.com:/usr/local/CVS login  # no password
  cvs -d :pserver:anonymous at rhlinux.redhat.com:/usr/local/CVS co libaio

> (Thanks for Jeff's feedback on the first version of this patch).

I think we also need to update the test cases to use O_DIRECT, since
buffered AIO isn't really supported.  I'll work on that.  In the mean
time, I've incorporated your changes into a work branch
(jmoyer-work-branch).  When I'm happy with the regression tests (they
don't all pass for me on 2.6.24-rc7), I'll roll a new version and
build it for Fedora.

Thanks again!


More information about the Ubuntu-devel-discuss mailing list