Skip to content

scsi: add support for request batching

Paolo Bonzini kvm linux-scsi lkml 1 version Applied

Status from this message: I queued these up for 5.4. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 27 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2scsi_host: add support for request batchingdrivers/scsi/scsi_lib.c include/scsi/scsi_cmnd.h include/scsi/scsi_host.h+49 -514 replies
2/2virtio_scsi: implement request batchingdrivers/scsi/virtio_scsi.c+40 -154 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBart Van AsscheStefan HajnocziMing LeiHannes Reinecke
SeriesR-b
1/2R-b R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] scsi: add support for request batching

This allows a list of requests to be issued, with the LLD only writing the hardware doorbell when necessary, after the last request was prepared. This is more efficient if we have lists of requests to issue, particularly on virtualized hardware, where writing the doorbell is more expensive than on real hardware.

This applies to any HBA, either singlequeue or multiqueue; the second patch implements it for virtio-scsi.

Paolo

Paolo Bonzini (2):
scsi_host: add support for request batching
virtio_scsi: implement request batching

 drivers/scsi/scsi_lib.c    | 37 ++++++++++++++++++++++---
 drivers/scsi/virtio_scsi.c | 55 +++++++++++++++++++++++++++-----------
 include/scsi/scsi_cmnd.h   |  1 +
 include/scsi/scsi_host.h   | 16 +++++++++--
 4 files changed, 89 insertions(+), 20 deletions(-)
Signature · 1 line
2.21.0