On Tue, Mar 01, 2022 at 09:21:11AM -0500, Emanuele Giuseppe Esposito wrote: > Same as the locked version, but use BDRV_POLL_UNLOCKED. > We are going to add drains to all graph modifications, and they are > generally performed without the AioContext lock taken. > > Signed-off-by: Emanuele Giuseppe Esposito <[email protected]> > --- > block/io.c | 48 ++++++++++++++++++++++++++++++++----------- > include/block/block.h | 2 ++ > 2 files changed, 38 insertions(+), 12 deletions(-)
Looks okay but I hope we can get rid of the non-_unlocked versions soon to avoid adding extra APIs and supporting both locked and unlocked code paths. Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
