diff options
author | Stefan Priebe <s.priebe@profihost.ag> | 2012-11-30 09:55:46 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-12-11 11:05:11 +0100 |
commit | 473c7f0255920bcaf37411990a3725898772817f (patch) | |
tree | 9e6254bdbf1ad891fd2a786fdee9b4f5b507e655 /block/raw-win32.c | |
parent | 791bfa35ee00ca10b13bedfb048ffda385b151c7 (diff) | |
download | qemu-473c7f0255920bcaf37411990a3725898772817f.zip qemu-473c7f0255920bcaf37411990a3725898772817f.tar.gz qemu-473c7f0255920bcaf37411990a3725898772817f.tar.bz2 |
rbd: Fix race between aio completition and aio cancel
This one fixes a race which qemu had also in iscsi block driver
between cancellation and io completition.
qemu_rbd_aio_cancel was not synchronously waiting for the end of
the command.
To archieve this it introduces a new status flag which uses
-EINPROGRESS.
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Reviewed-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/raw-win32.c')
0 files changed, 0 insertions, 0 deletions