Re: [PATCH 10/13] qla2xxx: Fix stuck session of prli reject

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

 




> On Mar 8, 2022, at 12:20 AM, Nilesh Javali <njavali@xxxxxxxxxxx> wrote:
> 
> From: Quinn Tran <qutran@xxxxxxxxxxx>
> 
> Remove stale recovery code that prevents normal path recovery.
> 
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: 1cbc0efcd9be ("scsi: qla2xxx: Fix retry for PRLI RJT with reason of BUSY")
> Signed-off-by: Quinn Tran <qutran@xxxxxxxxxxx>
> Signed-off-by: Nilesh Javali <njavali@xxxxxxxxxxx>
> ---
> drivers/scsi/qla2xxx/qla_init.c | 7 -------
> 1 file changed, 7 deletions(-)
> 
> diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c
> index a53894444460..bf6979eb478a 100644
> --- a/drivers/scsi/qla2xxx/qla_init.c
> +++ b/drivers/scsi/qla2xxx/qla_init.c
> @@ -2105,13 +2105,6 @@ qla24xx_handle_prli_done_event(struct scsi_qla_host *vha, struct event_arg *ea)
> 		qla24xx_post_gpdb_work(vha, ea->fcport, 0);
> 		break;
> 	default:
> -		if ((ea->iop[0] == LSC_SCODE_ELS_REJECT) &&
> -		    (ea->iop[1] == 0x50000)) {   /* reson 5=busy expl:0x0 */
> -			set_bit(RELOGIN_NEEDED, &vha->dpc_flags);
> -			ea->fcport->fw_login_state = DSC_LS_PLOGI_COMP;
> -			break;
> -		}
> -
> 		sp = ea->sp;
> 		ql_dbg(ql_dbg_disc, vha, 0x2118,
> 		       "%s %d %8phC priority %s, fc4type %x prev try %s\n",
> -- 
> 2.19.0.rc0
> 

Reviewed-by: Himanshu Madhani <himanshu.madhani@xxxxxxxxxx>

--
Himanshu Madhani	 Oracle Linux Engineering





[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