]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow.c
qcow: Avoid direct AIO callback
authorKevin Wolf <kwolf@redhat.com>
Tue, 7 Jun 2011 13:20:44 +0000 (15:20 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 14 Jun 2011 15:03:27 +0000 (17:03 +0200)
commitb11a24dee661dd1e1de0dcbc149052ed67b0647a
tree9d699c0f991f57b28267c744a7b90f775e8f4c9c
parent42496d6240bfedc7ac6d92f04f92cff6c2e9f226
qcow: Avoid direct AIO callback

bdrv_aio_* must not call the callback before returning to its caller. In qcow,
this could happen in some error cases. This starts the real requests processing
in a BH to avoid this situation.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow.c