On Sat,  7 Apr 2018 11:30:13 -0700
James Smart <jsmart2...@gmail.com> wrote:

> 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.kenn...@broadcom.com>
> Signed-off-by: James Smart <james.sm...@broadcom.com>
> ---
>  drivers/scsi/lpfc/lpfc_nportdisc.c | 29 ++++++-----------------------
>  1 file changed, 6 insertions(+), 23 deletions(-)

Reviewed-by: Hannes Reinecke <h...@suse.com>



Reply via email to