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)
commita053a7c5373a6e1ea6d913c90b718881dd32a760
tree9d699c0f991f57b28267c744a7b90f775e8f4c9c
parent329ac2df8df0526c0b977991677e084b21bdd996
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