diff options
author | Kevin Wolf <kwolf@redhat.com> | 2022-02-03 15:05:34 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2022-02-11 09:44:16 +0100 |
commit | ee810602376125ca0e0afd6b7c715e13740978ea (patch) | |
tree | 0d275ce7cc3c167ba27595ff5ae3c04cd36379d7 /tests/qemu-iotests/245.out | |
parent | aba8205be0707b9d108e32254e186ba88107a869 (diff) | |
download | qemu-ee810602376125ca0e0afd6b7c715e13740978ea.zip qemu-ee810602376125ca0e0afd6b7c715e13740978ea.tar.gz qemu-ee810602376125ca0e0afd6b7c715e13740978ea.tar.bz2 |
iotests: Test blockdev-reopen with iothreads and throttling
The 'throttle' block driver implements .bdrv_co_drain_end, so
blockdev-reopen will have to wait for it to complete in the polling
loop at the end of qmp_blockdev_reopen(). This makes AIO_WAIT_WHILE()
release the AioContext lock, which causes a crash if the lock hasn't
correctly been taken.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20220203140534.36522-3-kwolf@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/245.out')
-rw-r--r-- | tests/qemu-iotests/245.out | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qemu-iotests/245.out b/tests/qemu-iotests/245.out index 4eced19..a4e04a3 100644 --- a/tests/qemu-iotests/245.out +++ b/tests/qemu-iotests/245.out @@ -17,8 +17,8 @@ read 1/1 bytes at offset 262152 read 1/1 bytes at offset 262160 1 bytes, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) -............... +................ ---------------------------------------------------------------------- -Ran 25 tests +Ran 26 tests OK |