mbox series

[v2,0/2] virtio-blk: set req->state to MQ_RQ_COMPLETE and support completion batching for the IRQ path

Message ID 20221220153613.21675-1-suwan.kim027@gmail.com (mailing list archive)
Headers show
Series virtio-blk: set req->state to MQ_RQ_COMPLETE and support completion batching for the IRQ path | expand

Message

Suwan Kim Dec. 20, 2022, 3:36 p.m. UTC
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(-)