]> git.proxmox.com Git - qemu.git/commit
qcow2: Remove request from in-flight list after error
authorKevin Wolf <kwolf@redhat.com>
Tue, 6 Apr 2010 13:30:14 +0000 (15:30 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 9 Apr 2010 23:54:52 +0000 (01:54 +0200)
commit0434349d6ac96d26cf067f58074b939d881b0911
tree0fb75cb156c35fc26cbba8dc642e33f16fd51505
parente00722122380b173eccfa246167241c8adf940c6
qcow2: Remove request from in-flight list after error

If we complete a request with a failure we need to remove it from the list of
requests that are in flight. If we don't do it, the next time the same AIOCB is
used for a cluster allocation it will create a loop in the list and qemu will
hang in an endless loop.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
(cherry picked from commit c644db3d53c90ef569ff5a90e9f821b88e7123bb)
block/qcow2-cluster.c
block/qcow2.c