[SCSI] ibmvfc: Improve device rediscovery
authorBrian King <brking@linux.vnet.ibm.com>
Thu, 28 May 2009 21:17:32 +0000 (16:17 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 8 Jun 2009 18:07:47 +0000 (13:07 -0500)
commit5e47167b6be0ca24cbb04fb71ea611ab7c089aff
tree01e5f39d7944cbc4a220f53ebeb08abb897f101f
parent497f9c504f76e7a751cd370604e1c8521743746d
[SCSI] ibmvfc: Improve device rediscovery

For certain scenarios during device rediscovery, we detect we need
to log back into a target. Currently we do just that - PLOGI/PRLI
back into the target. Change the code to delete and add the target
from the FC transport layer as well, to ensure we handle any cases
where the target may have changed.

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