]> git.karo-electronics.de Git - linux-beck.git/commitdiff
qla2xxx: Do not reset ISP for error entry with an out of range handle.
authorChad Dupuis <chad.dupuis@qlogic.com>
Tue, 4 Aug 2015 17:37:58 +0000 (13:37 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 27 Aug 2015 00:46:05 +0000 (17:46 -0700)
Instead of resetting the adapter wait for the login to timeout
and retry. Resetting the adapter can cause extended path recovery
times.

Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/qla2xxx/qla_isr.c

index 08190e07c6405d521f4edab45df134a065b1046d..ccf6a7f9902407aed21a5610b724a333c901c323 100644 (file)
@@ -2473,13 +2473,7 @@ qla2x00_error_entry(scsi_qla_host_t *vha, struct rsp_que *rsp, sts_entry_t *pkt)
        }
 fatal:
        ql_log(ql_log_warn, vha, 0x5030,
-           "Error entry - invalid handle/queue.\n");
-
-       if (IS_P3P_TYPE(ha))
-               set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags);
-       else
-               set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags);
-       qla2xxx_wake_dpc(vha);
+           "Error entry - invalid handle/queue (%04x).\n", que);
 }
 
 /**