public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 08/10] lpfc 8.3.32: Fix system panic due to node state change
@ 2012-06-12 17:54 James Smart
  0 siblings, 0 replies; only message in thread
From: James Smart @ 2012-06-12 17:54 UTC (permalink / raw)
  To: linux-scsi

Fix System Panic During IO Test using Medusa tool


Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>

 ---

 lpfc_scsi.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)


diff -upNr a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
--- a/drivers/scsi/lpfc/lpfc_scsi.c	2012-06-08 11:55:46.000000000 -0400
+++ b/drivers/scsi/lpfc/lpfc_scsi.c	2012-06-08 11:55:48.000000000 -0400
@@ -4275,10 +4275,8 @@ lpfc_queuecommand_lck(struct scsi_cmnd *
 	 * Catch race where our node has transitioned, but the
 	 * transport is still transitioning.
 	 */
-	if (!ndlp || !NLP_CHK_NODE_ACT(ndlp)) {
-		cmnd->result = ScsiResult(DID_IMM_RETRY, 0);
-		goto out_fail_command;
-	}
+	if (!ndlp || !NLP_CHK_NODE_ACT(ndlp))
+		goto out_tgt_busy;
 	if (atomic_read(&ndlp->cmd_pending) >= ndlp->cmd_qdepth)
 		goto out_tgt_busy;
 




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-12 17:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-12 17:54 [PATCH 08/10] lpfc 8.3.32: Fix system panic due to node state change James Smart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox