Message ID | 20240119135748.270944-1-stefanha@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | virtio-blk: iothread-vq-mapping cleanups | expand |
Am 19.01.2024 um 14:57 hat Stefan Hajnoczi geschrieben: > Kevin Wolf identified some issues with the virtio-blk iothread-vq-mapping patch > series that was merged at the end of 2023: > 1. s->rq is restarted from one AioContext and races with the other > iothread-vq-mapping AioContexts. > 2. Failure to set the AioContext is no longer fatal since the IO_CODE APIs can > be called from any thread. We can relax the error handling behavior. > 3. Starting dataplane must self-trigger the ioeventfd even in a drained > section. Failure to do so could lead to an unresponsive virtio-blk device. > > This patch series addresses these issues. The first few patches merge the > hw/block/dataplane/virtio-blk.c code into hw/block/virtio-blk.c so that s->rq > can easily be restarted in the correct AioContexts. Thanks, applied to the block branch. Kevin