From: Duane Grigsby Date: Fri, 23 Jul 2010 10:28:28 +0000 (+0500) Subject: [SCSI] qla2xxx: Propogate transport disrupted status for cable pull conditions for... X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=03c3f563c55121292022a6e8e213ea54c20a5980;p=linux-beck.git [SCSI] qla2xxx: Propogate transport disrupted status for cable pull conditions for faster failover. Signed-off-by: Giridhar Malavali Signed-off-by: James Bottomley --- 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) break; case CS_RESET: + cp->result = DID_TRANSPORT_DISRUPTED << 16; + break; + case CS_ABORTED: cp->result = DID_RESET << 16; break;