linux/drivers/scsi/lpfc
Justin Tee bf81e9cd17 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>
2024-05-06 21:53:58 -04:00
..
lpfc_attr.c scsi: lpfc: Use a dedicated lock for ras_fwlog state 2024-03-10 18:56:43 -04:00
lpfc_attr.h
lpfc_bsg.c scsi: lpfc: Define types in a union for generic void *context3 ptr 2024-03-10 18:56:44 -04:00
lpfc_bsg.h scsi: lpfc: Copyright updates for 14.2.0.5 patches 2022-07-07 17:21:44 -04:00
lpfc_compat.h
lpfc_crtn.h scsi: lpfc: Replace blk_irq_poll intr handler with threaded IRQ 2023-05-08 07:16:05 -04:00
lpfc_ct.c scsi: lpfc: Change default logging level for unsolicited CT MIB commands 2024-05-06 21:53:58 -04:00
lpfc_debugfs.c scsi: lpfc: Use a dedicated lock for ras_fwlog state 2024-03-10 18:56:43 -04:00
lpfc_debugfs.h scsi: lpfc: Copyright updates for 14.2.0.6 patches 2022-08-31 23:39:58 -04:00
lpfc_disc.h scsi: lpfc: Fix multiple NVMe remoteport registration calls for the same NPort ID 2022-09-15 22:18:27 -04:00
lpfc_els.c scsi: lpfc: Define types in a union for generic void *context3 ptr 2024-03-10 18:56:44 -04:00
lpfc_hbadisc.c scsi: lpfc: Define lpfc_dmabuf type for ctx_buf ptr 2024-03-10 18:56:44 -04:00
lpfc_hw4.h scsi: lpfc: Copyright updates for 14.4.0.0 patches 2024-02-05 20:51:36 -05:00
lpfc_hw.h scsi: lpfc: Set Establish Image Pair service parameter only for Target Functions 2023-07-23 16:17:07 -04:00
lpfc_ids.h scsi: lpfc: Copyright updates for 14.2.0.5 patches 2022-07-07 17:21:44 -04:00
lpfc_init.c scsi: lpfc: Define lpfc_dmabuf type for ctx_buf ptr 2024-03-10 18:56:44 -04:00
lpfc_logmsg.h scsi: lpfc: Introduce LOG_NODE_VERBOSE messaging flag 2023-10-13 16:58:27 -04:00
lpfc_mbox.c scsi: lpfc: Define types in a union for generic void *context3 ptr 2024-03-10 18:56:44 -04:00
lpfc_mem.c scsi: lpfc: Copyright updates for 14.2.0.16 patches 2023-11-15 09:52:58 -05:00
lpfc_nl.h
lpfc_nportdisc.c scsi: lpfc: Clear deferred RSCN processing flag when driver is unloading 2024-05-06 21:53:58 -04:00
lpfc_nvme.c scsi: lpfc: Replace hbalock with ndlp lock in lpfc_nvme_unregister_port() 2024-03-10 18:56:43 -04:00
lpfc_nvme.h scsi: lpfc: Copyright updates for 14.2.0.0 patches 2022-03-15 13:51:50 -04:00
lpfc_nvmet.c scsi: lpfc: Copyright updates for 14.4.0.0 patches 2024-02-05 20:51:36 -05:00
lpfc_scsi.c scsi: lpfc: Update logging of protection type for T10 DIF I/O 2024-05-06 21:53:58 -04:00
lpfc_scsi.h scsi: lpfc: Copyright updates for 14.2.0.6 patches 2022-08-31 23:39:58 -04:00
lpfc_sli4.h scsi: lpfc: Copyright updates for 14.4.0.1 patches 2024-03-10 18:56:44 -04:00
lpfc_sli.c scsi: lpfc: Clear deferred RSCN processing flag when driver is unloading 2024-05-06 21:53:58 -04:00
lpfc_sli.h scsi: lpfc: Copyright updates for 14.4.0.1 patches 2024-03-10 18:56:44 -04:00
lpfc_version.h scsi: lpfc: Update lpfc version to 14.4.0.1 2024-03-10 18:56:44 -04:00
lpfc_vmid.c scsi: lpfc: Move determination of vmid_flag after VMID reinitialization completes 2023-12-13 22:17:57 -05:00
lpfc_vport.c scsi: lpfc: Define lpfc_dmabuf type for ctx_buf ptr 2024-03-10 18:56:44 -04:00
lpfc_vport.h scsi: lpfc: Copyright updates for 14.2.0.6 patches 2022-08-31 23:39:58 -04:00
lpfc.h scsi: lpfc: Use a dedicated lock for ras_fwlog state 2024-03-10 18:56:43 -04:00
Makefile scsi: lpfc: Commonize VMID code location 2022-05-19 20:24:56 -04:00