diff options
author | 2022-04-12 15:20:01 -0700 | |
---|---|---|
committer | 2022-04-18 22:48:46 -0400 | |
commit | 1045592fc968fe1e4b360b3bce2e9b522f173cdc (patch) | |
tree | 72d5fd5c8d507f818c53325b83c6599f3255d34c /drivers/scsi/pmcraid.c | |
parent | scsi: lpfc: Register for Application Services FC-4 type in Fabric topology (diff) | |
download | wireguard-linux-1045592fc968fe1e4b360b3bce2e9b522f173cdc.tar.xz wireguard-linux-1045592fc968fe1e4b360b3bce2e9b522f173cdc.zip |
scsi: lpfc: Introduce FC_RSCN_MEMENTO flag for tracking post RSCN completion
During an NVMe target reboot, the target may initialize itself as FCP only
during the first RSCN and shortly after trigger a second RSCN claiming NVMe
support. The timing of these RSCNs occur before FCP-PRLI for the first
RSCN completes leading discovery issues over NVMe.
Change RSCN and NVME-PRLI send logic based on a new FC_RSCN_MEMENTO flag
that signals when lpfc_end_rscn() is completed and serves as a memento that
discovery was started from RSCN.
Link: https://lore.kernel.org/r/20220412222008.126521-20-jsmart2021@gmail.com
Co-developed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/pmcraid.c')
0 files changed, 0 insertions, 0 deletions