[SCSI] lpfc 8.3.25: Add FCF priority failover functionality
authorJames Smart <james.smart@emulex.com>
Fri, 22 Jul 2011 22:37:52 +0000 (18:37 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 27 Jul 2011 11:16:05 +0000 (15:16 +0400)
commit7d791df730844932feeac3bbf3ac08b510682174
tree8a1dd1666dc7df7518368327b7eff45719adeae1
parentb76f2dc91c0fff7a66616affdc039dc2e4b7ff98
[SCSI] lpfc 8.3.25: Add FCF priority failover functionality

This patch implements a new FCF failover policy for the lpfc driver. It
allows the driver to choose which FCF to failover to based on the FCF
priority. This patch also introduces a new sysfs parameter
(fcf_failover_policy) to allow the user to choose which FCF failover policy
to use.

Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc.h
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_crtn.h
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_sli.c
drivers/scsi/lpfc/lpfc_sli4.h