aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx
diff options
context:
space:
mode:
authorDuane Grigsby <duane.grigsby@qlogic.com>2010-07-23 06:28:28 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-07-28 10:06:10 -0400
commit03c3f563c55121292022a6e8e213ea54c20a5980 (patch)
treed8c4f4852ebc8ccdd90fe7dbe868f14aae27d8e7 /drivers/scsi/qla2xxx
parent5544213be7b4fb693730106a6d70a8cc1aa7cdf6 (diff)
[SCSI] qla2xxx: Propogate transport disrupted status for cable pull conditions for faster failover.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r--drivers/scsi/qla2xxx/qla_isr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c
index 88b5774085ad..ffc855f7697d 100644
--- a/drivers/scsi/qla2xxx/qla_isr.c
+++ b/drivers/scsi/qla2xxx/qla_isr.c
@@ -1692,6 +1692,9 @@ qla2x00_status_entry(scsi_qla_host_t *vha, struct rsp_que *rsp, void *pkt)
1692 break; 1692 break;
1693 1693
1694 case CS_RESET: 1694 case CS_RESET:
1695 cp->result = DID_TRANSPORT_DISRUPTED << 16;
1696 break;
1697
1695 case CS_ABORTED: 1698 case CS_ABORTED:
1696 cp->result = DID_RESET << 16; 1699 cp->result = DID_RESET << 16;
1697 break; 1700 break;