projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce39628
)
[SCSI] lpfc 8.3.35: Fixed PRLI not being retried if a LS_RJT with a reason
author
James Smart
<james.smart@emulex.com>
Sat, 29 Sep 2012 15:31:11 +0000
(11:31 -0400)
committer
James Bottomley
<JBottomley@Parallels.com>
Mon, 8 Oct 2012 11:03:43 +0000
(12:03 +0100)
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_els.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/lpfc/lpfc_els.c
b/drivers/scsi/lpfc/lpfc_els.c
index cfe533bc97909cbda098734e3a4e2e99cee1de85..c23f6415f76d0f2cb598905c446bcecb069cb6aa 100644
(file)
--- a/
drivers/scsi/lpfc/lpfc_els.c
+++ b/
drivers/scsi/lpfc/lpfc_els.c
@@
-3160,7
+3160,8
@@
lpfc_els_retry(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
retry = 1;
break;
}
- if (cmd == ELS_CMD_PLOGI) {
+ if ((cmd == ELS_CMD_PLOGI) ||
+ (cmd == ELS_CMD_PRLI)) {
delay = 1000;
maxretry = lpfc_max_els_tries + 1;
retry = 1;
@@
-3305,7
+3306,7
@@
lpfc_els_retry(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
ndlp->nlp_prev_state = ndlp->nlp_state;
if (cmd == ELS_CMD_PRLI)
lpfc_nlp_set_state(vport, ndlp,
- NLP_STE_
REG_LOGIN
_ISSUE);
+ NLP_STE_
PRLI
_ISSUE);
else
lpfc_nlp_set_state(vport, ndlp,
NLP_STE_NPR_NODE);