Am 30.11.2011 13:23, schrieb Stefan Hajnoczi: > This series fixes an issue where qemu_aio_flush() would return to IDE hardware > emulation with requests still pending. Kevin Wolf <kw...@redhat.com> found it > in the block tree before qemu.git/master merge, so qemu.git/master is not > affected and these patches are against his tree. > > A recent interaction between copy-on-read and "qcow2: Unlock during COW" > emphasized the need for strong assertion checking. Patch 1 fixes an assertion > failure with qcow2 images in hw/ide/pci.c:bmdma_cmd_writeb(). > > Patches 2 and 3 then introduce assertions that detect > wait_for_overlapping_requests() deadlock and broken qemu_aio_wait(). In the > future we will have better information if issues related to qemu_aio_wait() > come up. > > I have run qemu-iotests for qcow2 and qed. I have also performed a RHEL6 > guest > install to qed and tested booting the guest with IDE and qcow2. > > Stefan Hajnoczi (3): > qcow2: avoid reentrant bdrv_read() in copy_sectors() > block: wait_for_overlapping_requests() deadlock detection > block: convert qemu_aio_flush() calls to bdrv_drain_all()
Thanks, applied all to the block branch. Kevin