qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] iotests: Test blockdev-reopen with iothreads and throttl


From: Hanna Reitz
Subject: Re: [PATCH 2/2] iotests: Test blockdev-reopen with iothreads and throttling
Date: Thu, 3 Feb 2022 17:45:10 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 03.02.22 15:05, Kevin Wolf wrote:
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>
---
  tests/qemu-iotests/245     | 36 +++++++++++++++++++++++++++++++++---
  tests/qemu-iotests/245.out |  4 ++--
  2 files changed, 35 insertions(+), 5 deletions(-)

Reviewed-by: Hanna Reitz <hreitz@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]