Skip to content

scsi: EH rework prep patches, part 1

Hannes Reinecke linux-scsi 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest16 patches 2 repliesIn review
  2. v320 patches 13 repliesSuperseded
  3. v224 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v111 patches14 repliesSuperseded

Changes to v3 from the cover letter

- Move fnic and snic patches to the next patchset
- Include reviews from Ewan Milne

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16csiostor: use fc_block_rport()drivers/scsi/csiostor/csio_scsi.c+1 -10 replies
2/16fc_fcp: use fc_block_rport()drivers/scsi/libfc/fc_fcp.c+1 -10 replies
3/16mptfc: simplify mpt_fc_block_error_handler()drivers/message/fusion/mptfc.c+54 -290 replies
4/16mptfusion: correct definitions for mptscsih_dev_reset()drivers/message/fusion/mptsas.c drivers/message/fusion/mptscsih.c drivers/message/fusion/mptscsih.h +1 more+57 -30 replies
5/16mptfc: open-code mptfc_block_error_handler() for bus resetdrivers/message/fusion/mptfc.c+16 -30 replies
6/16qedf: use fc rport as argument for qedf_initiate_tmf()drivers/scsi/qedf/qedf.h drivers/scsi/qedf/qedf_io.c drivers/scsi/qedf/qedf_main.c+31 -602 replies
7/16bnx2fc: Do not rely on a scsi command for lun or target resetdrivers/scsi/bnx2fc/bnx2fc.h drivers/scsi/bnx2fc/bnx2fc_hwi.c drivers/scsi/bnx2fc/bnx2fc_io.c+57 -520 replies
8/16ibmvfc: open-code reset loop for target resetdrivers/scsi/ibmvscsi/ibmvfc.c+22 -190 replies
9/16ibmvfc: use fc_block_rport()drivers/scsi/ibmvscsi/ibmvfc.c+4 -20 replies
10/16fnic: use fc_block_rport() correctlydrivers/scsi/fnic/fnic_scsi.c+4 -30 replies
11/16aic7xxx: make BUILD_SCSIID() a functiondrivers/scsi/aic7xxx/aic7xxx_osm.c+13 -60 replies
12/16aic79xx: make BUILD_SCSIID() a functiondrivers/scsi/aic7xxx/aic79xx_osm.c+7 -40 replies
13/16aic7xxx: do not reference scsi command when resetting devicedrivers/scsi/aic7xxx/aic7xxx_osm.c+57 -510 replies
14/16aic79xx: do not reference scsi command when resetting devicedrivers/scsi/aic7xxx/aic79xx_osm.c+15 -60 replies
15/16ips: Do not try to abort command from host resetdrivers/scsi/ips.c+0 -180 replies
16/16megaraid: pass in NULL scb for host resetdrivers/scsi/megaraid.c+16 -260 replies

Reviews trailers per patch

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

PatchChristoph HellwigJohannes ThumshirnBart Van Assche
1/16R-b R-b R-b
2/16R-b R-b R-b
3/16R-b R-b
4/16R-b R-b
5/16R-b R-b
6/16R-b R-b
7/16R-b R-b
8/16R-b R-b
9/16R-b R-b R-b
10/16R-b R-b
11/16R-b R-b
12/16R-b R-b
13/16R-b R-b
14/16R-b R-b
15/16R-b R-b
16/16R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCHv4 00/16] scsi: EH rework prep patches, part 1

Hi all,

here's the first batch of patches for my EH rework. It modifies the host reset callback for SCSI drivers such that the final conversion to have 'struct Scsi_host' as argument becomes possible.

As usual, comments and reviews are welcome.

Changes to v3:
- Move fnic and snic patches to the next patchset
- Include reviews from Ewan Milne

Changes to v2:
- Include reviews from John Garry
- move mpi3mr, zfcp, sym53c8xx_2, and qla1280 patches to the next patchset

Changes to the initial version:
- Include reviews from Christoph
- Fixup build robot issues

Hannes Reinecke (16):
csiostor: use fc_block_rport()
fc_fcp: use fc_block_rport()
mptfc: simplify mpt_fc_block_error_handler()
mptfusion: correct definitions for mptscsih_dev_reset()
mptfc: open-code mptfc_block_error_handler() for bus reset
qedf: use fc rport as argument for qedf_initiate_tmf()
bnx2fc: Do not rely on a scsi command for lun or target reset
ibmvfc: open-code reset loop for target reset
ibmvfc: use fc_block_rport()
fnic: use fc_block_rport() correctly
aic7xxx: make BUILD_SCSIID() a function
aic79xx: make BUILD_SCSIID() a function
aic7xxx: do not reference scsi command when resetting device
aic79xx: do not reference scsi command when resetting device
ips: Do not try to abort command from host reset
megaraid: pass in NULL scb for host reset

 drivers/message/fusion/mptfc.c     |  96 +++++++++++++++-------
 drivers/message/fusion/mptsas.c    |   2 +-
 drivers/message/fusion/mptscsih.c  |  55 ++++++++++++-
 drivers/message/fusion/mptscsih.h  |   1 +
 drivers/message/fusion/mptspi.c    |   2 +-
 drivers/scsi/aic7xxx/aic79xx_osm.c |  32 +++++---
 drivers/scsi/aic7xxx/aic7xxx_osm.c | 127 ++++++++++++++++-------------
 drivers/scsi/bnx2fc/bnx2fc.h       |   1 +
 drivers/scsi/bnx2fc/bnx2fc_hwi.c   |  14 ++--
 drivers/scsi/bnx2fc/bnx2fc_io.c    |  94 ++++++++++-----------
 drivers/scsi/csiostor/csio_scsi.c  |   2 +-
 drivers/scsi/fnic/fnic_scsi.c      |   7 +-
 drivers/scsi/ibmvscsi/ibmvfc.c     |  47 ++++++-----
 drivers/scsi/ips.c                 |  18 ----
 drivers/scsi/libfc/fc_fcp.c        |   2 +-
 drivers/scsi/megaraid.c            |  42 ++++------
 drivers/scsi/qedf/qedf.h           |   3 +-
 drivers/scsi/qedf/qedf_io.c        |  69 +++++-----------
 drivers/scsi/qedf/qedf_main.c      |  19 +++--
 19 files changed, 352 insertions(+), 281 deletions(-)
Signature · 1 line
2.29.2