diff options
author | Fam Zheng <famz@redhat.com> | 2014-09-11 13:41:13 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-09-22 11:39:04 +0100 |
commit | 771b64daf9c73be98d223d3ab101a61f02cac277 (patch) | |
tree | e5a40abe6ddb67975cad44d0528ef97796e736cd /hmp.h | |
parent | 3391f5e51c4b55bf72fd33d9bc542a49114e48cd (diff) |
linux-aio: Convert laio_aiocb_info.cancel to .cancel_async
Just call io_cancel (2), if it fails, it means the request is not
canceled, so the event loop will eventually call
qemu_laio_process_completion.
In qemu_laio_process_completion, change to call the cb unconditionally.
It is required by bdrv_aio_cancel_async.
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hmp.h')
0 files changed, 0 insertions, 0 deletions