[PATCHv5 00/18] scsi: EH rework prep patches, part 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

(taking up an old thread:)
here's the first batch of patches for my EH rework.
It modifies the reset callbacks for SCSI drivers
such that the final conversion to drop the 'struct scsi_cmnd'
argument and use the entity in question (host, bus, target, device)
as the argument to the SCSI EH callbacks becomes possible.
The first part covers drivers which just requires minor tweaks.

As usual, comments and reviews are welcome.

Changes to v4:
- Rebase to latest linus tree

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 (18):
  mptfc: simplify mptfc_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
  aic7xxx: make BUILD_SCSIID() a function
  aic7xxx: do not reference scsi command when resetting device
  aic79xx: make BUILD_SCSIID() a function
  aic79xx: do not reference scsi command when resetting device
  ibmvfc: open-code reset loop for target reset
  megaraid: pass in NULL scb for host reset
  ips: Do not try to abort command from host reset
  sym53c8xx_2: split off bus reset from host reset
  sym53c8xx_2: rework reset handling
  qla1280: separate out host reset function from qla1280_error_action()
  pmcraid: Select device in pmcraid_eh_bus_reset_handler()
  pmcraid: select device in pmcraid_eh_target_reset_handler()
  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/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/ibmvscsi/ibmvfc.c      |  42 ++++---
 drivers/scsi/ips.c                  |  18 ---
 drivers/scsi/megaraid.c             |  42 +++----
 drivers/scsi/mpi3mr/mpi3mr_os.c     |  57 ++++++---
 drivers/scsi/pmcraid.c              |  60 +++++++--
 drivers/scsi/qedf/qedf.h            |   5 +-
 drivers/scsi/qedf/qedf_io.c         |  75 +++--------
 drivers/scsi/qedf/qedf_main.c       |  19 +--
 drivers/scsi/qla1280.c              |  42 ++++---
 drivers/scsi/sym53c8xx_2/sym_glue.c | 189 ++++++++++++++++++----------
 18 files changed, 572 insertions(+), 395 deletions(-)

-- 
2.35.3




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux