summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_scsi.c
diff options
context:
space:
mode:
authorJames Smart2018-04-09 23:24:21 +0200
committerMartin K. Petersen2018-04-19 01:34:00 +0200
commit118c0415eeec96669219536ed8fdaabecc5619fb (patch)
tree31b6648ce4bc3800061ca993d922dc562c29d97d /drivers/scsi/lpfc/lpfc_scsi.c
parentscsi: megaraid_sas: driver version upgrade (diff)
downloadkernel-qcow2-linux-118c0415eeec96669219536ed8fdaabecc5619fb.tar.gz
kernel-qcow2-linux-118c0415eeec96669219536ed8fdaabecc5619fb.tar.xz
kernel-qcow2-linux-118c0415eeec96669219536ed8fdaabecc5619fb.zip
scsi: lpfc: Fix multiple PRLI completion error path
Nodelist entry for SCSI array ends up in UNMAPPED state. This is due to illegal discovery State machine transition because of two PRLIs and the first one failing with LS_RJT. Also, the error path was designed assuming the PRLIs complete in the order they were sent, FCP first, then NVME. In a failing case, the array thinks about the first PRLI (FCP), but issues LS_RJT for the 2nd PRLI immediately. Fix PRLI completion error path for the ordering expectation. Ensure the discovery state machine update is not set until all outstanding PRLIs are complete. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <james.smart@broadcom.com> Reviewed-by: Hannes Reinecke <hare@suse.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