Skip to content

virtio-blk: set req->state to MQ_RQ_COMPLETE and support completion batching for the IRQ path

Suwan Kim linux-block 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 4 repliesSuperseded
  3. v12 patches 6 repliesSuperseded

Changes in v3 from the cover letter

- patch#2
- Adjust tab indents for line continuation (Christoph's comment)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2virtio-blk: set req->state to MQ_RQ_COMPLETE after polling I/O is finisheddrivers/block/virtio_blk.c+3 -20 replies
2/2virtio-blk: support completion batching for the IRQ pathdrivers/block/virtio_blk.c+45 -370 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] virtio-blk: set req->state to MQ_RQ_COMPLETE and support completion batching for the IRQ path

V3 changes
- patch#2
- Adjust tab indents for line continuation (Christoph's comment)

V2 changes
- patch#1
- use blk_mq_complete_request_remote() instead of blk_mq_set_request_complete()

- patch#2
- Modify patch based on the patch#1 v2 changes.
- Use iob.complete(&iob) instead of virtblk_complete_batch(&iob) at virtblk_done() (Stefan's comment)
- It shows almost same performance improvement as v1 patch.

Suwan Kim (2):
virtio-blk: set req->state to MQ_RQ_COMPLETE after polling I/O is
finished
virtio-blk: support completion batching for the IRQ path

 drivers/block/virtio_blk.c | 81 +++++++++++++++++++++-----------------
 1 file changed, 45 insertions(+), 36 deletions(-)
Signature · 1 line
2.26.3