diff options
author | Yu Kuai <[email protected]> | 2022-09-21 17:53:09 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2022-09-24 08:59:43 -0600 |
commit | 81c7a63abc7c0be572b4f853e913ce93a34f6e1b (patch) | |
tree | 3358a474ca304876e431085299e980128c58116e /tools/perf/scripts/python/flamegraph.py | |
parent | 85496749904016f36b69332f73a1cf3ecfee828f (diff) |
blk-throttle: improve bypassing bios checkings
"tg->has_rules" is extended to "tg->has_rules_iops/bps", thus bios that
don't need to be throttled can be checked accurately.
With this patch, bio will be throttled if:
1) Bio is read/write, and corresponding read/write iops limit exist.
2) If corresponding doesn't exist, corresponding bps limit exist and
bio is not throttled before.
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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions