Reopen needs to handle AioContext carefully due to calling
bdrv_drain_all_begin/end. By not taking AioContext around calls to
bdrv_reopen_multiple, we can drop the function's release/acquire
pair and the AioContext argument too.
Signed-off-by: Paolo Bonzini
Signed-off-by: Emanuele Giuseppe Espos
On 19/04/21 10:55, Emanuele Giuseppe Esposito wrote:
Reopen needs to handle AioContext carefully due to calling
bdrv_drain_all_begin/end. By not taking AioContext around calls to
bdrv_reopen_multiple, we can drop the function's release/acquire
pair and the AioContext argument too.
So... I wrot
On Mon, Apr 19, 2021 at 10:55:41AM +0200, Emanuele Giuseppe Esposito wrote:
> block/block-backend.c | 4
> block/mirror.c| 9 -
> blockdev.c| 19 ++-
> 3 files changed, 6 insertions(+), 26 deletions(-)
There are still many aio_context_acquire/rel