summaryrefslogtreecommitdiff
path: root/drivers/scsi/lpfc/lpfc_scsi.c
diff options
context:
space:
mode:
authorJustin Tee <justin.tee@broadcom.com>2024-04-30 01:15:42 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2024-05-07 04:53:58 +0300
commitbf81e9cd1767cb3a6abe13af1054e0504072c455 (patch)
tree4a994b46f4f8b445812d3f11e02e334bb2441fcb /drivers/scsi/lpfc/lpfc_scsi.c
parent18f7761d5c6f290236a0d181feecea592226a9df (diff)
downloadlinux-bf81e9cd1767cb3a6abe13af1054e0504072c455.tar.xz
scsi: lpfc: Clear deferred RSCN processing flag when driver is unloading
Device recovery logic is skipped when the RSCN processing flag is set. However during rmmod, the flag is not cleared leading to unnecessary delays in waiting for completions on a link that is being offlined. Move clearing of the RSCN deferred flag to a refactored routine when called from device recovery, and set the IA flag when issuing an abort during unload. Signed-off-by: Justin Tee <justin.tee@broadcom.com> Link: https://lore.kernel.org/r/20240429221547.6842-4-justintee8345@gmail.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_scsi.c')
0 files changed, 0 insertions, 0 deletions