From: Brian King Date: Wed, 3 Dec 2008 17:02:54 +0000 (-0600) Subject: ibmvfc: Delay NPIV login retry and add retries X-Git-Tag: v2.6.27.12~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20d51730e261bc7046af4bed53cefaf539e44f20;p=pandora-kernel.git 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 Signed-off-by: James Bottomley Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed