Re: [PATCH 04/21] block: Take AioContext lock for bdrv_append() more consistently

2023-08-22 Thread Stefan Hajnoczi
On Thu, Aug 17, 2023 at 02:50:03PM +0200, Kevin Wolf wrote: > diff --git a/tests/unit/test-block-iothread.c > b/tests/unit/test-block-iothread.c > index d727a5fee8..9155547313 100644 > --- a/tests/unit/test-block-iothread.c > +++ b/tests/unit/test-block-iothread.c > @@ -756,11 +756,14 @@ static

Re: [PATCH 04/21] block: Take AioContext lock for bdrv_append() more consistently

2023-08-21 Thread Emanuele Giuseppe Esposito
Am 17/08/2023 um 14:50 schrieb Kevin Wolf: > The documentation for bdrv_append() says that the caller must hold the > AioContext lock for bs_top. Change all callers to actually adhere to the > contract. > > Signed-off-by: Kevin Wolf Reviewed-by: Emanuele Giuseppe Esposito

Re: [PATCH 04/21] block: Take AioContext lock for bdrv_append() more consistently

2023-08-18 Thread Eric Blake
On Thu, Aug 17, 2023 at 02:50:03PM +0200, Kevin Wolf wrote: > The documentation for bdrv_append() says that the caller must hold the > AioContext lock for bs_top. Change all callers to actually adhere to the > contract. > > Signed-off-by: Kevin Wolf > --- > tests/unit/test-bdrv-drain.c | 3

[PATCH 04/21] block: Take AioContext lock for bdrv_append() more consistently

2023-08-17 Thread Kevin Wolf
The documentation for bdrv_append() says that the caller must hold the AioContext lock for bs_top. Change all callers to actually adhere to the contract. Signed-off-by: Kevin Wolf --- tests/unit/test-bdrv-drain.c | 3 +++ tests/unit/test-bdrv-graph-mod.c | 6 ++