A Plumber's Wish List for Linux
A Plumber's Wish List for Linux
Posted Oct 7, 2011 23:52 UTC (Fri) by jra (subscriber, #55261)In reply to: A Plumber's Wish List for Linux by aliguori
Parent article: A Plumber's Wish List for Linux
> POSIX AIO is not a very nice interface. Signal based completions are
> awkward to use at best. In addition, aiocb only contains a flat buffer,
> not a scatter gather list. For something like QEMU, that makes it a
> useless interface since it can't support zero-copy I/O.
But guess what - it's a *STANDARD* that is supported on many other systems.
That's what makes it valuable to have working. We already have code that implements it.
I'm not saying *only* implement the standard. Do a nice Linux-specific interface underneath that the libc code then calls if you like, but don't ignore the standard interface as there's code out there that already uses it.
Of course it needs to work with buffered aio, that goes without saying :-).
