Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349568
b: refs/heads/master
c: 47cd4b3
h: refs/heads/master
v: v3
  • Loading branch information
Asai Thambi S P authored and Jens Axboe committed Jan 11, 2013
1 parent f1ecf23 commit 857e9ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: b6c46cfa312639a5416959258e6a81bea2fdaf8a
refs/heads/master: 47cd4b3c7e80cc8d5ac82930c5af835870b5aba1
9 changes: 5 additions & 4 deletions trunk/drivers/block/mtip32xx/mtip32xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -626,12 +626,13 @@ static void mtip_timeout_function(unsigned long int data)
}
}

if (cmdto_cnt && !test_bit(MTIP_PF_IC_ACTIVE_BIT, &port->flags)) {
if (cmdto_cnt) {
print_tags(port->dd, "timed out", tagaccum, cmdto_cnt);

mtip_restart_port(port);
if (!test_bit(MTIP_PF_IC_ACTIVE_BIT, &port->flags)) {
mtip_restart_port(port);
wake_up_interruptible(&port->svc_wait);
}
clear_bit(MTIP_PF_EH_ACTIVE_BIT, &port->flags);
wake_up_interruptible(&port->svc_wait);
}

if (port->ic_pause_timer) {
Expand Down

0 comments on commit 857e9ae

Please sign in to comment.