linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/11] lpfc 8.3.37: Fixed exhausted retry for plogi to nameserver.
@ 2013-01-03 20:43 James Smart
  0 siblings, 0 replies; only message in thread
From: James Smart @ 2013-01-03 20:43 UTC (permalink / raw)
  To: linux-scsi

Fixed exhausted retry for plogi to nameserver.


Signed-off-by: James Smart <james.smart@emulex.com>

 ---

 lpfc_els.c |    7 +++++++
 1 file changed, 7 insertions(+)


diff -upNr a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
--- a/drivers/scsi/lpfc/lpfc_els.c	2013-01-02 13:13:02.680087643 -0500
+++ b/drivers/scsi/lpfc/lpfc_els.c	2013-01-02 13:13:03.820087669 -0500
@@ -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;
 		}




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

only message in thread, other threads:[~2013-01-03 20:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-03 20:43 [PATCH 3/11] lpfc 8.3.37: Fixed exhausted retry for plogi to nameserver James Smart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).