virtio-blk: Remove the stale FIXME comment
PATCH 1/1 virtio-blk: Remove the stale FIXME comment
By default, we have ioeventfd enabled, so the IO request processing is in IO thread; in the vcpu thread, guest mode is returned to as quickly as possible, and completion is delivered via irqfd. Therefore this comment from the initial implementation is barely relevant.
--- hw/block/virtio-blk.c | 6 ------ 1 file changed, 6 deletions(-)
hw/block/virtio-blk.c +0 -6
@@ -591,12 +591,6 @@ static void virtio_blk_handle_output(VirtIODevice *vdev, VirtQueue *vq)if (mrb.num_reqs) {virtio_blk_submit_multireq (s->blk, &mrb); } - -/* -* FIXME: Want to check for completions before returning to guest mode, -* so cached reads and writes are reported as quickly as possible. But -* that should be done in the generic block layer. -*/ }static void virtio_blk_dma_restart_bh (void *opaque)
Signature · 1 line
1.9.3
Quoted 9 lines · Fam Zheng
By default, we have ioeventfd enabled, so the IO request processing is in IO thread; in the vcpu thread, guest mode is returned to as quickly as possible, and completion is delivered via irqfd. Therefore this comment from the initial implementation is barely relevant.
Signed-off-by Fam Zheng <[email protected]>--- hw/block/virtio-blk.c | 6 ------ 1 file changed, 6 deletions(-)
Quoted 6 lines · Stefan Hajnoczi
Quoted 5 lines · Fam Zheng
By default, we have ioeventfd enabled, so the IO request processing is in IO thread; in the vcpu thread, guest mode is returned to as quickly as possible, and completion is delivered via irqfd. Therefore this comment from the initial implementation is barely relevant.
Quoted 6 lines
Quoted 4 lines
Signed-off-by Fam Zheng <[email protected]>--- hw/block/virtio-blk.c | 6 ------ 1 file changed, 6 deletions(-)Reviewed-by Stefan Hajnoczi <[email protected]>
Max, would you apply this?
Fam
Kevin Wolf
AppliedAm 16.02.2015 um 05:09 hat Fam Zheng geschrieben:
Quoted 6 lines
By default, we have ioeventfd enabled, so the IO request processing is in IO thread; in the vcpu thread, guest mode is returned to as quickly as possible, and completion is delivered via irqfd. Therefore this comment from the initial implementation is barely relevant.
Signed-off-by Fam Zheng <[email protected]>
Thanks, applied to the block branch.
Kevin