qemu-block
[Top][All Lists]
Advanced

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

Re: [PATCH 3/3] blockdev: mirror: avoid potential deadlock when using io


From: Fiona Ebner
Subject: Re: [PATCH 3/3] blockdev: mirror: avoid potential deadlock when using iothread
Date: Fri, 20 Oct 2023 10:46:23 +0200
User-agent: Mozilla Thunderbird

Am 19.10.23 um 15:19 schrieb Fiona Ebner:
> The bdrv_getlength() function is a generated co-wrapper and uses
> AIO_WAIT_WHILE() to wait for the spawned coroutine. AIO_WAIT_WHILE()
> expects the lock to be acquired exactly once.
> 
> This can happen when the source node is explicitly specified as the
> @replaces parameter or if there is a filter on top of the source node.

Correction: this should read "or if the source node is a filter node".




reply via email to

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