Re: [PATCH v2 04/11] bdrv_child_try_change_aio_context: add transaction parameter

2022-10-24 Thread Emanuele Giuseppe Esposito
Am 07/10/2022 um 18:10 schrieb Kevin Wolf: > Am 25.07.2022 um 14:21 hat Emanuele Giuseppe Esposito geschrieben: >> This enables the caller to use the same transaction to also >> keep track of aiocontext changes. >> >> Signed-off-by: Emanuele Giuseppe Esposito > > What you're really doing here

Re: [PATCH v2 04/11] bdrv_child_try_change_aio_context: add transaction parameter

2022-10-07 Thread Kevin Wolf
Am 25.07.2022 um 14:21 hat Emanuele Giuseppe Esposito geschrieben: > This enables the caller to use the same transaction to also > keep track of aiocontext changes. > > Signed-off-by: Emanuele Giuseppe Esposito What you're really doing here is factoring out the recursive phase. However, the fact

[PATCH v2 04/11] bdrv_child_try_change_aio_context: add transaction parameter

2022-07-25 Thread Emanuele Giuseppe Esposito
This enables the caller to use the same transaction to also keep track of aiocontext changes. Signed-off-by: Emanuele Giuseppe Esposito --- block.c| 31 -- include/block/block-global-state.h | 5 + 2 files changed, 30 insertions(+), 6