aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorYu Kuai <[email protected]>2022-08-27 18:16:36 +0800
committerJens Axboe <[email protected]>2022-09-12 00:20:07 -0600
commit8c25ed0cb9d2e349ebebfeacf7ce1ae015afe54d (patch)
tree35ef98f722116826a86192818072b417d77e3159 /tools/perf/scripts/python/event_analyzing_sample.py
parent7e9c5c54d440bd6402ffdba4dc4f3df5bfe64ea4 (diff)
blk-throttle: calling throtl_dequeue/enqueue_tg in pairs
It's a little weird to call throtl_dequeue_tg() unconditionally in throtl_select_dispatch(), since it will be called in tg_update_disptime() again if some bio is still throttled. Thus call it later if there are no throttled bio. 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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions