Skip to contentSkip to conversation

lpfc 8.3.37: Fixed exhausted retry for plogi to nameserver.

PATCH New James Smart 1 participant 1 message Jan 3, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/11 lpfc 8.3.37: Fixed exhausted retry for plogi to nameserver.

Fixed exhausted retry for plogi to nameserver.

---

 lpfc_els.c |    7 +++++++
 1 file changed, 7 insertions(+)
drivers/scsi/lpfc/lpfc_els.c +7 -0
diff -upNr a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
@@ -3122,6 +3122,13 @@ lpfc_els_retry(struct lpfc_hba *phba, st
 
 		case IOERR_SEQUENCE_TIMEOUT:
 		case IOERR_INVALID_RPI:
+			if (cmd == ELS_CMD_PLOGI &&
+			    did == NameServer_DID) {
+				/* Continue forever if plogi to */
+				/* the nameserver fails */
+				maxretry = 0;
+				delay = 100;
+			}
 			retry = 1;
 			break;
 		}