diff options
| author | Nicholas Bellinger <[email protected]> | 2014-06-09 23:36:51 +0000 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2014-06-10 04:19:31 +0000 |
| commit | a95d6511303b848da45ee27b35018bb58087bdc6 (patch) | |
| tree | eefd06649a284d2c84db54e423488ce55b1c59f2 /tools/perf/scripts/python/sched-migration.py | |
| parent | target: Set CMD_T_ACTIVE bit for Task Management Requests (diff) | |
| download | kernel-a95d6511303b848da45ee27b35018bb58087bdc6.tar.gz kernel-a95d6511303b848da45ee27b35018bb58087bdc6.zip | |
target: Use complete_all for se_cmd->t_transport_stop_comp
This patch fixes a bug where multiple waiters on ->t_transport_stop_comp
occurs due to a concurrent ABORT_TASK and session reset both invoking
transport_wait_for_tasks(), while waiting for the associated se_cmd
descriptor backend processing to complete.
For this case, complete_all() should be invoked in order to wake up
both waiters in core_tmr_abort_task() + transport_generic_free_cmd()
process contexts.
Cc: Thomas Glanzmann <[email protected]>
Cc: Charalampos Pournaris <[email protected]>
Cc: [email protected] # 3.10+
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
