diff options
author | Daniel Hansel <daniel.hansel@linux.vnet.ibm.com> | 2013-04-26 17:32:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-28 16:25:47 -0700 |
commit | e09e21a6930d65e132b1285632b6cc0679ed42bb (patch) | |
tree | b86440e349d8cda74d670d6057094845fe0a89ae /lib/xz | |
parent | 4984a112df96b876dd107d22ba3598147953b871 (diff) | |
download | linux-3.10-e09e21a6930d65e132b1285632b6cc0679ed42bb.tar.gz linux-3.10-e09e21a6930d65e132b1285632b6cc0679ed42bb.tar.bz2 linux-3.10-e09e21a6930d65e132b1285632b6cc0679ed42bb.zip |
SCSI: zfcp: fix adapter (re)open recovery while link to SAN is down
commit f76ccaac4f82c463a037aa4a1e4ccb85c7011814 upstream.
FCP device remains in status ERP_FAILED when device is switched online
or adapter recovery is triggered while link to SAN is down.
When Exchange Configuration Data command returns the FSF status
FSF_EXCHANGE_CONFIG_DATA_INCOMPLETE it aborts the exchange process.
The only retries are done during the common error recovery procedure
(i.e. max. 3 retries with 8sec sleep between) and remains in status
ERP_FAILED with QDIO down.
This commit reverts the commit 0df138476c8306478d6e726f044868b4bccf411c
(zfcp: Fix adapter activation on link down).
When FSF status FSF_EXCHANGE_CONFIG_DATA_INCOMPLETE is received the
adapter recovery will be finished without any retries. QDIO will be
up now and status changes such as LINK UP will be received now.
Signed-off-by: Daniel Hansel <daniel.hansel@linux.vnet.ibm.com>
Signed-off-by: Steffen Maier <maier@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/xz')
0 files changed, 0 insertions, 0 deletions