On Thu, Jun 09, 2022 at 10:37:27AM -0400, Emanuele Giuseppe Esposito wrote: > AioContext lock was introduced in b9e413dd375 and in this instance > it is used to protect these 3 functions: > - virtio_blk_handle_rw_error > - virtio_blk_req_complete > - block_acct_done > > Now that all three of the above functions are protected with > their own locks, we can get rid of the AioContext lock. > > Signed-off-by: Emanuele Giuseppe Esposito <eespo...@redhat.com> > --- > hw/block/virtio-blk.c | 18 ++---------------- > 1 file changed, 2 insertions(+), 16 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature