From: Mark W. <ma...@os...> - 2004-12-10 22:37:50
|
Hi Laurent, I got the following build error: gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_LARGEFILE64_SOURCE -Wall -Werror -g -O2 -c aio_fsync.c -MT aio_fsync.lo -MD -MP -MF .deps/aio_fsync.TPlo -fPIC -DPIC -o .libs/aio_fsync.o aio_fsync.c: In function `aio_fsync64': aio_fsync.c:40: error: duplicate case value aio_fsync.c:35: error: previously used here make[2]: *** [aio_fsync.lo] Error 1 make[2]: Leaving directory `/usr/local/src/libposix-aio-0.1/libposix-aio' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/libposix-aio-0.1' make: *** [all] Error 2 On Thu, Dec 09, 2004 at 05:10:03PM +0100, Laurent Vivier wrote: > Hi, > > I'm trying to write a new implementation of POSIX AIO for linux. > > It is based on linux native kernel AIO (contrary to glibc POSIX AIO, > based on threads and kernel synchronous IO), implements full POSIX AIO > (for instance sigevent field of aiocb, contrary to libaio-oracle). it's > a very light library with no internal data (all is stored in iocb and > aiocb structures). > Moreover, for the most common features, you can use it on a vanilla > kernel. Kernel patches are needed for kernel AIO unsupported features > (like sigevent and aio_cancel() on a file descriptor). I tried to not > modify kernel when It is possible. > > All needed files can be found at http://www.bullopensource.org/posix > > I provide too a patch to the open posix test suite to test the POSIX AIO > option group. > > Features: > > - based on kernel AIO > - can be used on standard kernel (in this case, some POSIX features are > not available) > - can support sigevent field of aiocb and lio_listio() on patched kernel > - can support aio_cancel() on a file descriptor on patched kernel > - don't duplicate information between user- and kernel-space. > > If you are interested by this work, you can contact me at > Lau...@bu... > > Laurent > |