Re: [PATCH 01/14] lpfc: Fix multiple PRLI completion error path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat,  7 Apr 2018 11:30:13 -0700
James Smart <jsmart2021@xxxxxxxxx> 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.kennedy@xxxxxxxxxxxx>
> Signed-off-by: James Smart <james.smart@xxxxxxxxxxxx>
> ---
>  drivers/scsi/lpfc/lpfc_nportdisc.c | 29 ++++++-----------------------
>  1 file changed, 6 insertions(+), 23 deletions(-)
> 

Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>

Cheers,

Hannes



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux