Re: [PATCH v3 4/5] block-backend: process zoned requests in the current AioContext

2023-09-13 Thread Eric Blake
On Tue, Sep 12, 2023 at 07:10:36PM -0400, Stefan Hajnoczi wrote: > Process zoned requests in the current thread's AioContext instead of in > the BlockBackend's AioContext. > > There is no need to use the BlockBackend's AioContext thanks to CoMutex > bs->wps->colock, which protects zone metadata. >

[PATCH v3 4/5] block-backend: process zoned requests in the current AioContext

2023-09-12 Thread Stefan Hajnoczi
Process zoned requests in the current thread's AioContext instead of in the BlockBackend's AioContext. There is no need to use the BlockBackend's AioContext thanks to CoMutex bs->wps->colock, which protects zone metadata. Signed-off-by: Stefan Hajnoczi --- block/block-backend.c | 12 ++-