summaryrefslogtreecommitdiff
path: root/block/curl.c
diff options
context:
space:
mode:
authorStefan Priebe <s.priebe@profihost.ag>2012-11-30 09:55:46 +0100
committerKevin Wolf <kwolf@redhat.com>2012-12-11 11:05:11 +0100
commit473c7f0255920bcaf37411990a3725898772817f (patch)
tree9e6254bdbf1ad891fd2a786fdee9b4f5b507e655 /block/curl.c
parent791bfa35ee00ca10b13bedfb048ffda385b151c7 (diff)
downloadqemu-473c7f0255920bcaf37411990a3725898772817f.zip
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/curl.c')
0 files changed, 0 insertions, 0 deletions