[PATCH 00/24] scsi: EH rework prep patches, part 1

Hannes Reinecke
2022-05-02T21:38:38Z

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.

Hannes Reinecke (24):
csiostor: use fc_block_rport()
fc_fcp: use fc_block_rport()
zfcp: open-code fc_block_scsi_eh() for host reset
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 dedicated device reset command
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
snic: reserve tag for TMF
snic: use dedicated device reset command
snic: Use scsi_host_busy_iter() to traverse commands
sym53c8xx_2: split off bus reset from host reset
ips: Do not try to abort command from host reset
qla1280: separate out host reset function from qla1280_error_action()
megaraid: pass in NULL scb for host reset
mpi3mr: split off bus_reset function from host_reset

drivers/message/fusion/mptfc.c | 94 +++++++---
drivers/message/fusion/mptscsih.c | 55 +++++-
drivers/message/fusion/mptscsih.h | 1 +
drivers/s390/scsi/zfcp_scsi.c | 29 ++-
drivers/scsi/aic7xxx/aic79xx_osm.c | 35 ++--
drivers/scsi/aic7xxx/aic7xxx_osm.c | 119 ++++++------
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 | 138 +++++---------
drivers/scsi/ibmvscsi/ibmvfc.c | 48 ++---
drivers/scsi/ips.c | 18 --
drivers/scsi/libfc/fc_fcp.c | 2 +-
drivers/scsi/megaraid.c | 42 ++---
drivers/scsi/mpi3mr/mpi3mr_os.c | 57 +++---
drivers/scsi/qedf/qedf.h | 5 +-
drivers/scsi/qedf/qedf_io.c | 75 +++-----
drivers/scsi/qedf/qedf_main.c | 19 +-
drivers/scsi/qla1280.c | 40 +++--
drivers/scsi/snic/snic.h | 3 +-
drivers/scsi/snic/snic_main.c | 3 +
drivers/scsi/snic/snic_scsi.c | 270 +++++++++++++---------------
drivers/scsi/sym53c8xx_2/sym_glue.c | 107 ++++++-----
24 files changed, 665 insertions(+), 606 deletions(-)

--
2.29.2