Skip to content

scsi: 64-bit LUN support

Hannes Reinecke linux-scsi 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v14 patches 24 repliesSuperseded

Changes to v1 from the cover letter

- Use u64 instead of uint64_t where appropriate

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4scsi_scan: Fixup scsilun_to_int()drivers/scsi/scsi_scan.c+3 -61 reply
2/4scsi: use 64-bit LUNsdrivers/ata/libata-scsi.c drivers/ata/libata.h drivers/message/fusion/mptscsih.c +48 more+242 -2520 replies
3/4scsi: use 64-bit value for 'max_luns'drivers/message/i2o/i2o_scsi.c drivers/scsi/cxgbi/libcxgbi.c drivers/scsi/cxgbi/libcxgbi.h +12 more+38 -230 replies
4/4scsi: Remove CONFIG_SCSI_MULTI_LUNdrivers/scsi/Kconfig drivers/scsi/dc395x.c drivers/scsi/ncr53c8xx.h +1 more+1 -300 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] scsi: 64-bit LUN support

This patchset updates the SCSI midlayer to use 64-bit LUNs internally. It eliminates the need to limit the number of LUNs artificially to avoid aliasing issues; the SCSI midlayer can now accept any LUN presented to it.

The LLDD specific settings for 'max_lun' have been left untouched; it should be raised to '~0' if the HBA supports 64-bit LUNs internally. However, it is up to the driver maintainer to raise that limit.

Changes to v1:
- Use u64 instead of uint64_t where appropriate

Hannes Reinecke (4):
scsi_scan: Fixup scsilun_to_int()
scsi: use 64-bit LUNs
scsi: use 64-bit value for 'max_luns'
scsi: Remove CONFIG_SCSI_MULTI_LUN

 drivers/ata/libata-scsi.c               |    2 +-
 drivers/ata/libata.h                    |    2 +-
 drivers/message/fusion/mptscsih.c       |    2 +-
 drivers/message/i2o/i2o_scsi.c          |   13 +++---
 drivers/scsi/Kconfig                    |   14 ------
 drivers/scsi/NCR5380.c                  |    2 +-
 drivers/scsi/aacraid/linit.c            |    2 +-
 drivers/scsi/aha152x.c                  |    6 +-
 drivers/scsi/aic7xxx/aic79xx.h          |    2 +-
 drivers/scsi/aic7xxx/aic79xx_osm.c      |    6 +-
 drivers/scsi/aic7xxx/aic7xxx_osm.c      |   11 +++--
 drivers/scsi/aic7xxx_old.c              |   21 +++++----
 drivers/scsi/aic7xxx_old/aic7xxx_proc.c |    2 +-
 drivers/scsi/arcmsr/arcmsr_hba.c        |    8 ++--
 drivers/scsi/csiostor/csio_scsi.c       |   24 +++++-----
 drivers/scsi/cxgbi/libcxgbi.c           |    2 +-
 drivers/scsi/cxgbi/libcxgbi.h           |    2 +-
 drivers/scsi/dc395x.c                   |   52 ++++++++++------------
 drivers/scsi/eata.c                     |    4 +-
 drivers/scsi/fnic/fnic_scsi.c           |    6 +-
 drivers/scsi/hpsa.c                     |    2 +-
 drivers/scsi/ibmvscsi/ibmvfc.c          |    4 +-
 drivers/scsi/libiscsi.c                 |    8 ++--
 drivers/scsi/libsas/sas_scsi_host.c     |   11 +++--
 drivers/scsi/lpfc/lpfc_attr.c           |   10 ++++-
 drivers/scsi/lpfc/lpfc_scsi.c           |   42 +++++++++---------
 drivers/scsi/megaraid.c                 |    6 +-
 drivers/scsi/megaraid/mega_common.h     |    2 +-
 drivers/scsi/mpt3sas/mpt3sas_scsih.c    |    4 +-
 drivers/scsi/ncr53c8xx.h                |    4 --
 drivers/scsi/pmcraid.c                  |    2 +-
 drivers/scsi/qla2xxx/qla_def.h          |    4 +-
 drivers/scsi/qla2xxx/qla_gbl.h          |   12 +++---
 drivers/scsi/qla2xxx/qla_isr.c          |    4 +-
 drivers/scsi/qla2xxx/qla_mbx.c          |   12 +++---
 drivers/scsi/qla2xxx/qla_os.c           |   41 +++++++++--------
 drivers/scsi/qla4xxx/ql4_glbl.h         |    4 +-
 drivers/scsi/qla4xxx/ql4_iocb.c         |    2 +-
 drivers/scsi/qla4xxx/ql4_isr.c          |   22 +++++-----
 drivers/scsi/qla4xxx/ql4_mbx.c          |    8 ++--
 drivers/scsi/qla4xxx/ql4_os.c           |   18 ++++----
 drivers/scsi/scsi.c                     |    8 ++--
 drivers/scsi/scsi_debug.c               |   15 +++---
 drivers/scsi/scsi_priv.h                |    2 +-
 drivers/scsi/scsi_proc.c                |    2 +-
 drivers/scsi/scsi_scan.c                |   73 +++++++++++--------------------
 drivers/scsi/scsi_sysfs.c               |   14 +++---
 drivers/scsi/scsi_transport_fc.c        |    4 +-
 drivers/scsi/scsi_transport_iscsi.c     |    4 +-
 drivers/scsi/scsi_transport_sas.c       |    2 +-
 drivers/scsi/sg.c                       |    4 +-
 drivers/scsi/sym53c8xx_2/sym_glue.c     |    2 +-
 drivers/scsi/sym53c8xx_2/sym_hipd.h     |    2 +-
 drivers/target/loopback/tcm_loop.c      |    4 +-
 drivers/target/target_core_pscsi.c      |   12 +++---
 include/linux/moduleparam.h             |    5 ++
 include/scsi/scsi.h                     |    2 +-
 include/scsi/scsi_device.h              |   22 +++++-----
 include/scsi/scsi_host.h                |    6 +-
 include/scsi/scsi_transport.h           |    2 +-
 kernel/params.c                         |    1 +
 61 files changed, 282 insertions(+), 309 deletions(-)
Signature · 1 line
1.7.4.2