Skip to content

scsi_debug: multiple queue support and cleanup

Douglas Gilbert linux-scsi 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 5 repliesIn review
  2. v212 patches 0 repliesSuperseded
  3. v112 patches 28 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6scsi_debug: use pdt constantsdrivers/scsi/scsi_debug.c+45 -410 replies
2/6scsi_debug: rework resp_report_lunsdrivers/scsi/scsi_debug.c+87 -480 replies
3/6scsi_debug: add multiple queue supportdrivers/scsi/scsi_debug.c+446 -2563 replies
4/6scsi_debug: vpd and mode page workdrivers/scsi/scsi_debug.c+108 -790 replies
5/6scsi_debug: uuid for lu namedrivers/scsi/scsi_debug.c+51 -101 reply
6/6scsi_debug: use locally assigned naadrivers/scsi/scsi_debug.c+18 -170 replies

Reviews trailers per patch

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

PatchHannes ReineckeBart Van Assche
1/6R-b R-b
2/6R-b R-b
3/6R-b
4/6R-b R-b
5/6R-b R-b
6/6R-b R-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/6] scsi_debug: multiple queue support and cleanup

Changes since v2.5
- rework the 'add multiple queue support' patch based on reviewers' comments to more closely follow the scsi/block mq template

Changes since original version:
- reduce resp_report_luns to reporting 256 LUNs (0 to 255) using address_method=0 which is single level peripheral device addressing method. Reviewer would like further address_methods support which will be presented as a separate patch

Primary reason for this patch series is to add multi queue support modelled on the null_blk driver. Incorporate REPORT LUNS patch from Tomas Winkler sent in Febrary 2015; trim to a maximum of 256 LUNs (0 to 255) per target. Add parameter that permits LU names to use UUIDs (spc5r08.pdf).

The original patch set was made up of 12 patches, the first 7 of which have already been accepted with minor edits. This patch set (and "v2.5" before it) represent the second half of the original patch set. So this patch set is based on the current SCSI maintainers' repositories. For those who want to try this patch set on lk 4.5 or the linux-stable tree, this patch should be applied before this series:
http://sg.danny.cz/sg/p/sdebug_mq_1st_half.patch

Douglas Gilbert (6):
scsi_debug: use pdt constants
scsi_debug: rework resp_report_luns
scsi_debug: add multiple queue support
scsi_debug: vpd and mode page work
scsi_debug: uuid for lu name
scsi_debug: use locally assigned naa

 drivers/scsi/scsi_debug.c | 1156 ++++++++++++++++++++++++++++-----------------
 1 file changed, 730 insertions(+), 426 deletions(-)
Signature · 1 line
2.7.4