Re: [PATCH 01/12] block-coroutine-wrapper: Take AioContext lock in no_co_wrappers

2023-05-25 Thread Stefan Hajnoczi
On Thu, May 25, 2023 at 02:47:02PM +0200, Kevin Wolf wrote: > All of the functions that currently take a BlockDriverState, BdrvChild > or BlockBackend as their first parameter expect the associated > AioContext to be locked when they are called. In the case of > no_co_wrappers, they are called from

[PATCH 01/12] block-coroutine-wrapper: Take AioContext lock in no_co_wrappers

2023-05-25 Thread Kevin Wolf
All of the functions that currently take a BlockDriverState, BdrvChild or BlockBackend as their first parameter expect the associated AioContext to be locked when they are called. In the case of no_co_wrappers, they are called from bottom halves directly in the main loop, so no other caller can be