diff options
| author | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-09-29 08:37:29 +0400 |
|---|---|---|
| committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-24 07:19:32 +0400 |
| commit | d050ffb922c782f092234611b9019e95024481ab (patch) | |
| tree | a2883666772d23546cda814ff9894ff05edbe005 /tools/perf/scripts/python/sched-migration.py | |
| parent | 79a7fef26431830e22e282053d050af790117db8 (diff) | |
| download | linux-d050ffb922c782f092234611b9019e95024481ab.tar.xz | |
target: Re-org of core_tmr_lun_reset
This patch is a re-orginzation of core_tmr_lun_reset() logic to properly
scan the active tmr_list, dev->state_task_list and qobj->qobj_list w/ the
relivent locks held, and performing a list_move_tail onto seperate local
scope lists before performing the full drain.
This involves breaking out the code into three seperate list specific
functions: core_tmr_drain_tmr_list(), core_tmr_drain_task_list() and
core_tmr_drain_cmd_list().
(nab: Include target: Remove non-active tasks from execute list during
LUN_RESET patch to address original breakage)
Reported-by: Roland Dreier <roland@purestorage.com>
Cc: Roland Dreier <roland@purestorage.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: stable@kernel.org
Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
