]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] ibmvfc: Delay NPIV login retry and add retries
authorBrian King <brking@linux.vnet.ibm.com>
Wed, 3 Dec 2008 17:02:54 +0000 (11:02 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 29 Dec 2008 17:24:23 +0000 (11:24 -0600)
commit1c41fa8288277e76785acb50f52bb2f39509f903
tree2d56318f2b64753e0e0797d0a1db3b869e4d52a4
parent6df19a791bdd5d820cccd8c7a12679888ae62099
[SCSI] ibmvfc: Delay NPIV login retry and add retries

Adds a delay prior to retrying a failed NPIV login. This fixes
a scenario if the backing fibre channel adapter is getting reset
due to an EEH event, NPIV login will fail. Currently, ibmvfc
retries three times very quickly, resets the CRQ and tries one
more time. If the adapter is getting reset due to EEH, this isn't
enough time. This adds a delay prior to retrying a failed NPIV
login and also increments the number of retries.

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