]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 18 Jan 2009 18:44:05 +0000 (10:44 -0800)
commite36b254a8892084651b9a371c5b586f433c8e35f
tree80c446f02df59f6169d535b4d428eed8ba8359b2
parentec7e974f17675e06f4498c08661cdf4d1c4c0146
ibmvfc: Delay NPIV login retry and add retries

commit 1c41fa8288277e76785acb50f52bb2f39509f903 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/ibmvscsi/ibmvfc.c
drivers/scsi/ibmvscsi/ibmvfc.h