Skip to content

scsi_debug: several bug fixes and enable clustering support

Akinobu Mita linux-scsi 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 0 repliesNew
  2. v27 patches 2 repliesSuperseded
  3. v16 patches 6 repliesSuperseded

Changes in v3 from the cover letter

- add Reviewed-by lines

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7scsi_debug: fix false positive logical block reference tag check faildrivers/scsi/scsi_debug.c+1 -30 replies
2/7scsi_debug: make pseudo_primary staticdrivers/scsi/scsi_debug.c+1 -10 replies
3/7scsi_debug: fix duplicate dif_errors incrementdrivers/scsi/scsi_debug.c+0 -10 replies
4/7scsi_debug: fix resp_xdwriteread() return value when running out of memorydrivers/scsi/scsi_debug.c+6 -20 replies
5/7scsi_debug: prepare to enable clusteringdrivers/scsi/scsi_debug.c+59 -500 replies
6/7scsi_debug: protect device access with atomic_rw lockdrivers/scsi/scsi_debug.c+10 -20 replies
7/7scsi_debug: add ability to enable clusteringdrivers/scsi/scsi_debug.c+5 -00 replies

Reviews trailers per patch

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

PatchMartin K. PetersenDouglas Gilbert
1/7A-b R-b
2/7R-b R-b
3/7A-b R-b
4/7R-b R-b
5/7R-b R-b
6/7R-b R-b
7/7R-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/7] scsi_debug: several bug fixes and enable clustering support

Hi James,

Please consider to apply these patches to your tree. There is no change since the previous version except for adding Reviewed-by lines from Douglas and Martin.

This patch set includes several bug fixes and patches for enabling clustering support for scsi_debug.

The reason why I would like to enable clustering is to test commands with huge transfer length. Without enabling clustering support, the transfer length for read and write scsi commands is limited upto 8MB when page size is 4KB and sg_tablesize is 2048
(= SCSI_MAX_SG_CHAIN_SEGMENTS).

Changes from v2:
- add Reviewed-by lines

Akinobu Mita (7):
scsi_debug: fix false positive logical block reference tag check fail
scsi_debug: make pseudo_primary static
scsi_debug: fix duplicate dif_errors increment
scsi_debug: fix resp_xdwriteread() return value when running out of
memory
scsi_debug: prepare to enable clustering
scsi_debug: protect device access with atomic_rw lock
scsi_debug: add ability to enable clustering

 drivers/scsi/scsi_debug.c | 141 +++++++++++++++++++++++++++-------------------
 1 file changed, 82 insertions(+), 59 deletions(-)
Cc "James E.J. Bottomley" <[email protected]>
Cc Douglas Gilbert <[email protected]>
Cc "Martin K. Petersen" <[email protected]>
Signature · 1 line
1.8.3.2