Statistics
| Branch: | Revision:

root / linux-aio.c @ 753d11f2

History | View | Annotate | Download (5.2 kB)

# Date Author Comment
cf26a4e6 09/20/2011 03:34 pm Paolo Bonzini

linux-aio: remove process requests callback

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

c30e624d 09/06/2011 12:23 pm Frediano Ziglio

linux aio: some comments

Add some notes about Linux AIO explaining why we don't use AIO in
some situations.

Signed-off-by: Frediano Ziglio <>
Signed-off-by: Kevin Wolf <>

7267c094 08/21/2011 07:01 am Anthony Liguori

Use glib memory allocation and free functions

qemu_malloc/qemu_free no longer exist after this commit.

Signed-off-by: Anthony Liguori <>

384acbf4 08/02/2011 04:53 pm Kevin Wolf

async: Remove AsyncContext

The purpose of AsyncContexts was to protect qcow and qcow2 against reentrancy
during an emulated bdrv_read/write (which includes a qemu_aio_wait() call and
can run AIO callbacks of different requests if it weren't for AsyncContexts)....

2be50649 04/23/2010 05:21 pm Stefan Hajnoczi

linux-aio: Fix typo in read() EINTR check

Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

8febfa26 10/27/2009 07:28 pm Kevin Wolf

Add qemu_aio_process_queue()

We'll leave some AIO completions unhandled when we can't call the callback.
qemu_aio_process_queue() is used later to run any callbacks that are left and
can be run then.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

db0ffc24 10/27/2009 07:28 pm Kevin Wolf

linux-aio: Honour AsyncContext

Also for Linux AIO, don't call callbacks that don't belong to the active
AsyncContext.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

5c6c3a6c 08/28/2009 04:30 am Christoph Hellwig

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...