A Plumber's Wish List for Linux
A Plumber's Wish List for Linux
Posted Oct 7, 2011 18:59 UTC (Fri) by aliguori (guest, #30636)In reply to: A Plumber's Wish List for Linux by jra
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.
I'd rather see the effort put into making linux-aio actually work in a meaningful way with buffered I/O. linux-aio is at least a sane interface and is not restricted to the extremely slow process of POSIX standardization.
linux-aio has a proper file descriptor based completion mechanism and support for vectored I/O.
