On Wed, Nov 22, 2017 at 8:09 AM, Christian Borntraeger <borntrae...@de.ibm.com> wrote: > On 11/22/2017 04:23 AM, Michael Roth wrote: >> Quoting Christian Borntraeger (2017-11-21 15:38:32) >>> forgot to cc qemu-devel.... >>> >>> On 11/21/2017 10:37 PM, Christian Borntraeger wrote: >>>> a quick heads up . Rc2 now triggers >>>> +qemu-img: block/block-backend.c:2088: blk_root_drained_end: Assertion >>>> `blk->quiesce_counter' failed. >>>> for several qemu iotests. >>>> >>>> I have not looked into any details. >> >> It looks to be due to: >> >> 4afeffc8572f40d8844b946a30c00b10da4442b1 >> blockjob: do not allow coroutine double entry or entry-after-completion > > Yes, I can confirm that reverting this patch gets rid of this assertion, but > I see things like > > --- /home/cborntra/REPOS/qemu/tests/qemu-iotests/020.out 2017-11-21 > 20:19:34.785519323 +0100 > +++ /home/cborntra/REPOS/qemu/build/tests/qemu-iotests/020.out.bad > 2017-11-22 09:04:50.127612500 +0100 > @@ -537,7 +537,8 @@ > wrote 65536/65536 bytes at offset 4295098368 > 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) > No errors were found on the image. > -Image committed. > +qemu_aio_coroutine_enter: Co-routine was already scheduled in > 'co_aio_sleep_ns' > +./common.rc: line 61: 88002 Aborted (core dumped) ( exec > "$QEMU_IMG_PROG" $QEMU_IMG_OPTIONS "$@" )
Thanks for reporting this, Christian! I ran qemu-iotests with -raw and -qcow2 to verify that commit 64807cd77938885f681a9a18b5736e923ad50b7c ("Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into staging") cause regressions. The results were failures in at least 055 109 (-raw) and 020 039 (-qcow2). I think we should revert commit 64807cd77938885f681a9a18b5736e923ad50b7c. Stefan