Am 08/11/2022 um 22:19 schrieb Stefan Hajnoczi:
> blk_drain() needs the lock because it calls AIO_WAIT_WHILE().
>
> The s->rq loop doesn't need the lock because dataplane has been stopped
> when virtio_blk_reset() is called.
>
> Signed-off-by: Stefan Hajnoczi <stefa...@redhat.com>
>


Reviewed-by: Emanuele Giuseppe Esposito <eespo...@redhat.com>


Reply via email to