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>
- [PATCH 0/8] virtio-blk: remove AioContext lock Stefan Hajnoczi
- [PATCH 1/8] virtio_queue_aio_attach_host_n... Stefan Hajnoczi
- Re: [PATCH 1/8] virtio_queue_aio_attac... Emanuele Giuseppe Esposito
- [PATCH 7/8] virtio-blk: don't acquire AioC... Stefan Hajnoczi
- Re: [PATCH 7/8] virtio-blk: don't acqu... Emanuele Giuseppe Esposito
- [PATCH 5/8] virtio-blk: mark IO_CODE funct... Stefan Hajnoczi
- Re: [PATCH 5/8] virtio-blk: mark IO_CO... Emanuele Giuseppe Esposito
- [PATCH 2/8] block-backend: enable_write_ca... Stefan Hajnoczi
- Re: [PATCH 2/8] block-backend: enable_... Emanuele Giuseppe Esposito
- [PATCH 8/8] virtio-blk: minimize virtio_bl... Stefan Hajnoczi
- Re: [PATCH 8/8] virtio-blk: minimize v... Emanuele Giuseppe Esposito
- [PATCH 3/8] virtio: categorize callbacks i... Stefan Hajnoczi
- Re: [PATCH 3/8] virtio: categorize cal... Emanuele Giuseppe Esposito
- [PATCH 4/8] virtio-blk: mark GLOBAL_STATE_... Stefan Hajnoczi
- Re: [PATCH 4/8] virtio-blk: mark GLOBA... Emanuele Giuseppe Esposito
- [PATCH 6/8] virtio-blk: remove unnecessary... Stefan Hajnoczi
- Re: [PATCH 6/8] virtio-blk: remove unn... Emanuele Giuseppe Esposito