mbox series

[00/11] scsi: EH rework prep patches, part 2

Message ID 20220502215416.5351-1-hare@suse.de (mailing list archive)
Headers show
Series scsi: EH rework prep patches, part 2 | expand

Message

Hannes Reinecke May 2, 2022, 9:54 p.m. UTC
Hi all,

here's the second 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_target'
resp 'struct scsi_device' as argument for the EH callbacks
becomes possible.

As usual, comments and reviews are welcome.

Hannes Reinecke (11):
  pmcraid: Select device in pmcraid_eh_bus_reset_handler()
  sym53c8xx_2: rework reset handling
  libiscsi: use cls_session as argument for target and session reset
  scsi_transport_iscsi: use session as argument for
    iscsi_block_scsi_eh()
  pmcraid: select first available device for target reset
  bfa: Do not use scsi command to signal TMF status
  aha152x: look for stuck command when resetting device
  a1000u2w: do not rely on the command for inia100_device_reset()
  xen-scsifront: add scsi device as argument to scsifront_do_request()
  fas216: Rework device reset to not rely on SCSI command pointer
  csiostor: use separate TMF command

 drivers/scsi/a100u2w.c              |  43 +++--------
 drivers/scsi/aha152x.c              |  26 ++++---
 drivers/scsi/arm/fas216.c           |  39 +++++-----
 drivers/scsi/be2iscsi/be_main.c     |  10 ++-
 drivers/scsi/bfa/bfad_im.c          | 112 +++++++++++++++-------------
 drivers/scsi/bfa/bfad_im.h          |   2 +
 drivers/scsi/csiostor/csio_hw.h     |   2 +
 drivers/scsi/csiostor/csio_init.c   |   2 +-
 drivers/scsi/csiostor/csio_scsi.c   |  48 +++++++-----
 drivers/scsi/libiscsi.c             |  21 +++---
 drivers/scsi/pmcraid.c              |  60 ++++++++++++---
 drivers/scsi/qla4xxx/ql4_os.c       |  34 +++++----
 drivers/scsi/scsi_transport_iscsi.c |   6 +-
 drivers/scsi/sym53c8xx_2/sym_glue.c |  82 +++++++++++++-------
 drivers/scsi/xen-scsifront.c        |  31 +++++---
 include/scsi/libiscsi.h             |   2 +-
 include/scsi/scsi_transport_iscsi.h |   2 +-
 17 files changed, 310 insertions(+), 212 deletions(-)