Skip to content

Commit

Permalink
[SCSI] qla2xxx: Propogate transport disrupted status for cable pull c…
Browse files Browse the repository at this point in the history
…onditions for faster failover.

Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
  • Loading branch information
Duane Grigsby authored and James Bottomley committed Jul 28, 2010
1 parent 5544213 commit 03c3f56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/scsi/qla2xxx/qla_isr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 03c3f56

Please sign in to comment.