Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 115447
b: refs/heads/master
c: 056a448
h: refs/heads/master
i:
  115445: 267af49
  115443: 5eaccbb
  115439: a8c9dbb
v: v3
  • Loading branch information
Mike Christie authored and James Bottomley committed Oct 13, 2008
1 parent ae49d29 commit d7b6057
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f46e307da925a7b71a0018c0510cdc6e588b87fc
refs/heads/master: 056a44834950ffa51fafa6c76a720fa32e86851a
14 changes: 12 additions & 2 deletions trunk/drivers/scsi/qla2xxx/qla_isr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,12 @@ qla2x00_status_entry(scsi_qla_host_t *ha, void *pkt)
cp->serial_number, comp_status,
atomic_read(&fcport->state)));

cp->result = DID_BUS_BUSY << 16;
/*
* We are going to have the fc class block the rport
* while we try to recover so instruct the mid layer
* to requeue until the class decides how to handle this.
*/
cp->result = DID_TRANSPORT_DISRUPTED << 16;
if (atomic_read(&fcport->state) == FCS_ONLINE)
qla2x00_mark_device_lost(fcport->ha, fcport, 1, 1);
break;
Expand All @@ -1214,7 +1219,12 @@ qla2x00_status_entry(scsi_qla_host_t *ha, void *pkt)
break;

case CS_TIMEOUT:
cp->result = DID_BUS_BUSY << 16;
/*
* We are going to have the fc class block the rport
* while we try to recover so instruct the mid layer
* to requeue until the class decides how to handle this.
*/
cp->result = DID_TRANSPORT_DISRUPTED << 16;

if (IS_FWI2_CAPABLE(ha)) {
DEBUG2(printk(KERN_INFO
Expand Down

0 comments on commit d7b6057

Please sign in to comment.