aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_els.c
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2010-02-26 14:15:29 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-03-03 08:39:52 -0500
commitfc2b989be9190f3311a5ae41289828e24897a20e (patch)
tree86de4a9129f003697819af1e5aa5d83eae683b4b /drivers/scsi/lpfc/lpfc_els.c
parente2aed29f29d0d289df3b0b627b122832d4dc80fe (diff)
[SCSI] lpfc 8.3.10: Fix Discovery issues
- Prevent Vport discovery after reg_new_vport completes when physical logged in using FDISC. - Remove fast FCF failover fabric name matching. Allow failover to FCFs connected to different fabrics. - Added fast FCF failover in response to FCF DEAD event on current FCF record. Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_els.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_els.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index 6a2135a0d03a..a81d43306d17 100644
--- a/drivers/scsi/lpfc/lpfc_els.c
+++ b/drivers/scsi/lpfc/lpfc_els.c
@@ -6004,7 +6004,12 @@ lpfc_cmpl_reg_new_vport(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb)
6004 if (phba->sli_rev < LPFC_SLI_REV4) 6004 if (phba->sli_rev < LPFC_SLI_REV4)
6005 lpfc_issue_fabric_reglogin(vport); 6005 lpfc_issue_fabric_reglogin(vport);
6006 else { 6006 else {
6007 lpfc_start_fdiscs(phba); 6007 /*
6008 * If the physical port is instantiated using
6009 * FDISC, do not start vport discovery.
6010 */
6011 if (vport->port_state != LPFC_FDISC)
6012 lpfc_start_fdiscs(phba);
6008 lpfc_do_scr_ns_plogi(phba, vport); 6013 lpfc_do_scr_ns_plogi(phba, vport);
6009 } 6014 }
6010 } else 6015 } else