Skip to content

scsi_debug: change store from vmalloc to sgl

Douglas Gilbert linux-scsi 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v11 patch 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2scsi_debug: add sdeb_sgl_copy_sgl and friendsdrivers/scsi/scsi_debug.c+127 -00 replies
2/2scsi_debug: change store from vmalloc to sgldrivers/scsi/Kconfig drivers/scsi/scsi_debug.c+307 -1500 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchBodo Stroesser
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] scsi_debug: change store from vmalloc to sgl

This patchset is a reworking of a single patch titled:
"[PATCH] scsi_debug: change store from vmalloc to sgl" sent to the linux-scsi list on 20201105. That patch depended on "[PATCH v4 0/4] scatterlist: add new capabilities" which is still to be accepted through the linux-block tree. The kernel build robot failed to compile the 20201105 patch due to that missing dependency.

In order to move forward, the first patch in this series adds the sgl to sgl handling functions into the scsi_debug driver with a "sdeb_" prefix. The second patch in this set is almost the same as the original patch from 20201105.

This patchset is based on ithe 5.11/scsi-queue branch in MKP's repository and builds clean on lk 5.10.0 .

Douglas Gilbert (2):
scsi_debug: add sdeb_sgl_copy_sgl and friends
scsi_debug: change store from vmalloc to sgl

 drivers/scsi/Kconfig      |   3 +-
 drivers/scsi/scsi_debug.c | 567 ++++++++++++++++++++++++++++----------
 2 files changed, 427 insertions(+), 143 deletions(-)
Signature · 1 line
2.25.1