[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH] block: Don't acquire AioContext in hmp_qemu_io(
Re: [Qemu-block] [PATCH] block: Don't acquire AioContext in hmp_qemu_io()
Wed, 13 Dec 2017 10:26:14 +0000
On Tue, Dec 12, 2017 at 02:48:00PM +0100, Kevin Wolf wrote:
> Commit 15afd94a047 added code to acquire and release the AioContext in
> qemuio_command(). This means that the lock is taken twice now in the
> call path from hmp_qemu_io(). This causes BDRV_POLL_WHILE() to hang for
> any requests issued to nodes in a non-mainloop AioContext.
> Dropping the first locking from hmp_qemu_io() fixes the problem.
> Signed-off-by: Kevin Wolf <address@hidden>
> hmp.c | 6 ------
> 1 file changed, 6 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
Description: PGP signature