Skip to content

Commit

Permalink
[SCSI] lpfc 8.3.37: Fixed exhausted retry for plogi to nameserver.
Browse files Browse the repository at this point in the history
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
  • Loading branch information
James Smart authored and James Bottomley committed Jan 30, 2013
1 parent 303f2f9 commit 5b5b36a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/scsi/lpfc/lpfc_els.c
Original file line number Diff line number Diff line change
Expand Up @@ -3122,6 +3122,13 @@ lpfc_els_retry(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,

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;
}
Expand Down

0 comments on commit 5b5b36a

Please sign in to comment.