mbox series

[v3,0/2] virtio-blk: support polling I/O and mq_ops->queue_rqs()

Message ID 20220324140450.33148-1-suwan.kim027@gmail.com (mailing list archive)
Headers show
Series virtio-blk: support polling I/O and mq_ops->queue_rqs() | expand

Message

Suwan Kim March 24, 2022, 2:04 p.m. UTC
This patch serise adds support for polling I/O and mq_ops->queue_rqs()
to virtio-blk driver.

Changes

v2 -> v3
        - Fix warning by kernel test robot
          
            static int virtblk_poll()
                ...
                if (!blk_mq_add_to_batch(req, iob, virtblk_result(vbr),
                                                   -> vbr->status,

v1 -> v2
        - To receive the number of poll queues from user,
          use module parameter instead of QEMU uapi change.

        - Add the comment about virtblk_map_queues().

        - Add support for mq_ops->queue_rqs() to implement submit side
          batch.

Suwan Kim (2):
  virtio-blk: support polling I/O
  virtio-blk: support mq_ops->queue_rqs()

 drivers/block/virtio_blk.c | 194 ++++++++++++++++++++++++++++++++++---
 1 file changed, 181 insertions(+), 13 deletions(-)