Skip to contentSkip to conversation

FAILED: patch "[PATCH] scsi: qla2xxx: Fix stuck session of PRLI reject" failed to apply to 5.4-stable tree

PATCH [email protected] 1 participant 1 message Apr 2, 2022

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

The patch below does not apply to the 5.4-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

From f3502e2e98a92981601edc3dadf4b0f43c79836b Mon Sep 17 00:00:00 2001
From: Quinn Tran <[email protected]>
Date: Thu, 10 Mar 2022 01:26:01 -0800
Subject: [PATCH] scsi: qla2xxx: Fix stuck session of PRLI reject

Remove stale recovery code that prevents normal path recovery.

Fixes 1cbc0efcd9be ("scsi: qla2xxx: Fix retry for PRLI RJT with reason of BUSY")
drivers/scsi/qla2xxx/qla_init.c +0 -7
index 7f5b5811c23d..3f3417a3e891 100644
@@ -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",