|
@@ -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) {
|