aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYu Kuai <[email protected]>2022-08-27 18:16:37 +0800
committerJens Axboe <[email protected]>2022-09-12 00:20:08 -0600
commitc013710e1a7eba8e33da9380a068fe1cec017226 (patch)
treead92ebd20e0418484036cd55ee269494beb26574 /tools/perf/scripts/python
parent8c25ed0cb9d2e349ebebfeacf7ce1ae015afe54d (diff)
blk-throttle: cleanup tg_update_disptime()
tg_update_disptime() only need to adjust postion for 'tg' in 'parent_sq', there is no need to call throtl_enqueue/dequeue_tg(), since they will set/clear flag THROTL_TG_PENDING and increase/decrease nr_pending, which is useless. By the way, clear the flag/decrease nr_pending while there are still throttled bios is not good for debugging. There are no functional changes. Signed-off-by: Yu Kuai <[email protected]> Acked-by: Tejun Heo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions