Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264661
b: refs/heads/master
c: b0e062a
h: refs/heads/master
i:
  264659: f80ecce
v: v3
  • Loading branch information
Nicholas Bellinger committed Oct 24, 2011
1 parent b53cb2e commit d5c149d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d050ffb922c782f092234611b9019e95024481ab
refs/heads/master: b0e062aec578c756d1aea4b5809294488366a6e8
10 changes: 10 additions & 0 deletions trunk/drivers/target/target_core_tmr.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,16 @@ static void core_tmr_drain_cmd_list(
*/
if (prout_cmd == cmd)
continue;
/*
* Skip direct processing of TRANSPORT_FREE_CMD_INTR for
* HW target mode fabrics.
*/
spin_lock(&cmd->t_state_lock);
if (cmd->t_state == TRANSPORT_FREE_CMD_INTR) {
spin_unlock(&cmd->t_state_lock);
continue;
}
spin_unlock(&cmd->t_state_lock);

atomic_set(&cmd->t_transport_queue_active, 0);
atomic_dec(&qobj->queue_cnt);
Expand Down

0 comments on commit d5c149d

Please sign in to comment.