tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Linux libaio



On Sat, Aug 23, 2014 at 04:35:21PM +0000, Christos Zoulas wrote:
> >Where should it go? In tree? In pkgsrc? Anyone interested helping?
> Sure, where is it? I don't know where it belongs yet :-)

Here is today's work:
http://ftp.espci.fr/shadow/manu/libaio-netbsd.tgz

It passes most of linux's libaio regression tests but I think the
code that returns EFAULT when passed bad adresses may be #ifdef DEBUG

There is also the problem of the libaio-linux.h which partially copied from
Linux's libaio.h and hence is GPL. I need it because programs that
#include <libaio.h> expect to have the various macros such as io_fdsync()

There is an oddity: I need to break transfers larger than PAGE_SIZE into
smaller chunks otherwise I get failures. I suspect this is a bug
in NetBSD AIO.

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index