Commit:     3b02191aaeedfffe8cba258ebc212c577c278dbe
Parent:     ca2d02c2f9ea476062ae181eec60b8bcd97857d6
Author:     Heiko Carstens <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 11:18:50 2007 +0200
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:57:04 2007 -0500

    [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
    Signed-off-by: Heiko Carstens <[EMAIL PROTECTED]>
    Signed-off-by: Swen Schillig <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
 drivers/s390/scsi/zfcp_erp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/s390/scsi/zfcp_erp.c b/drivers/s390/scsi/zfcp_erp.c
index e2a3d6f..aef66bc 100644
--- a/drivers/s390/scsi/zfcp_erp.c
+++ b/drivers/s390/scsi/zfcp_erp.c
@@ -179,7 +179,7 @@ static void zfcp_close_fsf(struct zfcp_adapter *adapter)
 static void zfcp_fsf_request_timeout_handler(unsigned long data)
        struct zfcp_adapter *adapter = (struct zfcp_adapter *) data;
-       zfcp_erp_adapter_reopen(adapter, 0);
+       zfcp_erp_adapter_reopen(adapter, ZFCP_STATUS_COMMON_ERP_FAILED);
 void zfcp_fsf_start_timer(struct zfcp_fsf_req *fsf_req, unsigned long timeout)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to