Fixed exhausted retry for plogi to nameserver. Signed-off-by: James Smart <james.smart@xxxxxxxxxx> --- 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; } -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html