[SCSI] zfcp: clear adapter failed flag if an fsf request times out.
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 8 May 2007 09:18:50 +0000 (11:18 +0200)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 8 May 2007 16:57:04 +0000 (11:57 -0500)
commit3b02191aaeedfffe8cba258ebc212c577c278dbe
tree7b9ea9927b74cbbd5c075b28b11c61b65191207d
parentca2d02c2f9ea476062ae181eec60b8bcd97857d6
[SCSI] zfcp: clear adapter failed flag if an fsf request times out.

Must clear adapter failed flag if an fsf request times out. This is
necessary because on link down situations the failed flags gets set
but the QDIO queues are still up. Since an adapter reopen will be
skipped if the failed flag is set an adapter_reopen that is issued
on fsf request timeout has no effect if the local link is down.
Might lead to locked up system if the SCSI stack is waiting for abort
completion.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/s390/scsi/zfcp_erp.c