[SCSI] ibmvfc: Improve LOGO/PRLO ELS handling
authorBrian King <brking@linux.vnet.ibm.com>
Thu, 28 May 2009 21:17:33 +0000 (16:17 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 8 Jun 2009 18:07:49 +0000 (13:07 -0500)
commit6d29cc56bead73b6f386cf43333708579deb5eed
treed85c03bd760f1c4359d81b4e94881b46dbe42f13
parent5e47167b6be0ca24cbb04fb71ea611ab7c089aff
[SCSI] ibmvfc: Improve LOGO/PRLO ELS handling

There are several scenarios where the ibmvfc driver needs to
try to log back into a target on the fabric. Today when these events
occur, we simply go through re-discovery for all attached targets,
assuming that either the query of the name server or an ADISC will
indicate we might need to log back into the target, which doesn't
work for all scenarios. Fix this by taking note of the affected target(s)
in these conditions and ensuring we try to PLOGI back into the target.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/ibmvscsi/ibmvfc.c