Re: [PATCH v2 06/15] block: Fix locking for bdrv_reopen_queue_child()

2022-11-25 Thread Vladimir Sementsov-Ogievskiy
On 11/18/22 20:41, Kevin Wolf wrote: Callers don't agree whether bdrv_reopen_queue_child() should be called with the AioContext lock held or not. Standardise on holding the lock (as done by QMP blockdev-reopen and the replication block driver) and fix bdrv_reopen() to do the same.

[PATCH v2 06/15] block: Fix locking for bdrv_reopen_queue_child()

2022-11-18 Thread Kevin Wolf
Callers don't agree whether bdrv_reopen_queue_child() should be called with the AioContext lock held or not. Standardise on holding the lock (as done by QMP blockdev-reopen and the replication block driver) and fix bdrv_reopen() to do the same. Signed-off-by: Kevin Wolf --- block.c | 7 +--