Skip to content

scsi: Configure number of LUs reported by 'report-luns'

Rob Evers linux-scsi 3 versions – Applied

Status from this message: Thanks, applied to scsi-for-3.20.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest3 patches 2 repliesApplied
  2. v53 patches 4 repliesSuperseded
  3. v45 patches 5 repliesSuperseded

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/3scsi: Avoid unnecessary GFP_ATOMIC allocation in scsi_report_lun_scandrivers/scsi/scsi_scan.c+1 -10 replies
2/3scsi: Use set/get_unaligned_be32 in report_lunsdrivers/scsi/scsi_scan.c+3 -80 replies
3/3scsi: retry report-luns when reported LU count requres more memorydrivers/scsi/scsi_scan.c+11 -300 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEwan D. Milne
SeriesR-b
1/3
2/3
3/3

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

Read the v6 thread

Cover letter [PATCH V6 0/3] scsi: Configure number of LUs reported by 'report-luns'

This patch set retrieves the number of LUs available on a target using the report-luns command by re-sizing the returned data buffer and retrying report luns.

A minor bug fix is included.

scsi_mod parameter max_report_luns is no longer used and is removed.

Changes from previous posting:

- remove exteraneous else

- remove INITIAL_MAX_REPORT_LUNS, hardwire buffer sizing, and touch up related comment

Rob Evers (3):
scsi: Avoid unnecessary GFP_ATOMIC allocation in scsi_report_lun_scan
scsi: Use set/get_unaligned_be32 in report_luns
scsi: retry report-luns when reported LU count requres more memory

 drivers/scsi/scsi_scan.c | 54 ++++++++++++++----------------------------------
 1 file changed, 15 insertions(+), 39 deletions(-)
Signature · 1 line
1.8.3.1