[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>
This commit is contained in:
Duane Grigsby 2010-07-23 15:28:28 +05:00 committed by James Bottomley
parent 5544213be7
commit 03c3f563c5

View file

@ -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;