diff options
author | Kevin Wolf <kwolf@redhat.com> | 2009-10-22 17:54:36 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-27 12:28:59 -0500 |
commit | 8febfa26846e75d38848255028dfe2d06e5ba941 (patch) | |
tree | a1f01f36d5dfcf3b437b323540bb844fd9825f16 /linux-aio.c | |
parent | 59c7b155aa6e1cbfe8a92e2322ea59ab31965c10 (diff) |
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 <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'linux-aio.c')
-rw-r--r-- | linux-aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-aio.c b/linux-aio.c index f53a08cb0c..19ad36d749 100644 --- a/linux-aio.c +++ b/linux-aio.c @@ -192,7 +192,7 @@ void *laio_init(void) goto out_close_efd; qemu_aio_set_fd_handler(s->efd, qemu_laio_completion_cb, - NULL, qemu_laio_flush_cb, s); + NULL, qemu_laio_flush_cb, NULL, s); return s; |