qemu-e2k/block
Christoph Hellwig 5c6c3a6c54 raw-posix: add Linux native AIO support
Now that do have a nicer interface to work against we can add Linux native
AIO support.  It's an extremly thing layer just setting up an iocb for
the io_submit system call in the submission path, and registering an
eventfd with the qemu poll handler to do complete the iocbs directly
from there.

This started out based on Anthony's earlier AIO patch, but after
estimated 42,000 rewrites and just as many build system changes
there's not much left of it.

To enable native kernel aio use the aio=native sub-command on the
drive command line.  I have also added an option to qemu-io to
test the aio support without needing a guest.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-08-27 20:30:22 -05:00
..
bochs.c Move block drivers into their own directory 2009-05-14 16:13:46 -05:00
cloop.c Move block drivers into their own directory 2009-05-14 16:13:46 -05:00
cow.c qemu-img: Print available options with -o ? 2009-06-06 18:38:57 +03:00
curl.c Fix Sparse warning about "expression using sizeof on a function" 2009-08-01 10:13:44 +00:00
dmg.c Revert "support colon in filenames" 2009-07-09 16:06:38 -05:00
nbd.c Move block drivers into their own directory 2009-05-14 16:13:46 -05:00
parallels.c Move block drivers into their own directory 2009-05-14 16:13:46 -05:00
qcow.c qcow1: Fix qcow_aio_writev 2009-07-10 13:44:29 -05:00
qcow2-cluster.c qcow2: Fix L1 table memory allocation 2009-07-10 13:44:29 -05:00
qcow2-refcount.c Fix most warnings (errors with -Werror) when debugging is enabled 2009-07-20 17:19:25 +00:00
qcow2-snapshot.c Fix QCOW2 debugging code to compile again 2009-06-29 08:52:40 -05:00
qcow2.c qcow2: Metadata preallocation 2009-08-27 20:30:20 -05:00
qcow2.h Fix QCOW2 debugging code to compile again 2009-06-29 08:52:40 -05:00
raw-posix-aio.h raw-posix: add Linux native AIO support 2009-08-27 20:30:22 -05:00
raw-posix.c raw-posix: add Linux native AIO support 2009-08-27 20:30:22 -05:00
raw-win32.c block: add bdrv_probe_device method 2009-06-15 14:04:22 +02:00
vdi.c block/vdi.c: Fix several bugs 2009-08-27 19:33:15 -05:00
vmdk.c vmdk: Fix backing file handling 2009-07-22 10:58:47 -05:00
vpc.c eliminate errors about unused results in block/vpc.c 2009-08-24 08:46:48 -05:00
vvfat.c vvfat: one more missing BlockDriver C99 initializer conversion 2009-05-28 02:14:56 -05:00