mbox series

[0/3] qla2xxx: Fixes for SCSI EH rework

Message ID 20210819091913.94436-1-hare@suse.de (mailing list archive)
Headers show
Series qla2xxx: Fixes for SCSI EH rework | expand

Message

Hannes Reinecke Aug. 19, 2021, 9:19 a.m. UTC
Hi all,

with the SCSI EH rework the scsi_cmnd argument for the SCSI EH
callbacks is going away, so we need to fixup the drivers to work
without it.

This patchset modifies the qla2xxx driver to not rely on a
specific command for the SCSI EH callbacks.

As usual, comments and reviews are welcome.

Hannes Reinecke (3):
  qla2xxx: Do not call fc_block_scsi_eh() during bus reset
  qla2xxx: Open-code qla2xxx_eh_target_reset()
  qla2xxx: Open-code qla2xxx_eh_device_reset()

 drivers/scsi/qla2xxx/qla_os.c | 116 ++++++++++++++++++++++------------
 1 file changed, 74 insertions(+), 42 deletions(-)

Comments

Martin K. Petersen Aug. 28, 2021, 2:32 a.m. UTC | #1
On Thu, 19 Aug 2021 11:19:10 +0200, Hannes Reinecke wrote:

> with the SCSI EH rework the scsi_cmnd argument for the SCSI EH
> callbacks is going away, so we need to fixup the drivers to work
> without it.
> 
> This patchset modifies the qla2xxx driver to not rely on a
> specific command for the SCSI EH callbacks.
> 
> [...]

Applied to 5.15/scsi-queue, thanks!

[1/3] qla2xxx: Do not call fc_block_scsi_eh() during bus reset
      https://git.kernel.org/mkp/scsi/c/c74ce061f898
[2/3] qla2xxx: Open-code qla2xxx_eh_target_reset()
      https://git.kernel.org/mkp/scsi/c/e56b2234ab64
[3/3] qla2xxx: Open-code qla2xxx_eh_device_reset()
      https://git.kernel.org/mkp/scsi/c/cbe1f0d70072