diff options
| author | Yu Kuai <[email protected]> | 2022-08-29 10:22:39 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-09-12 00:19:48 -0600 |
| commit | 681cd46fff8cd81e387747c7850f2e730d3e0b74 (patch) | |
| tree | dc60bad94decee365519215f78077f02feb84663 /tools/perf/scripts/python | |
| parent | 8d6bbaada2e0a65f9012ac4c2506460160e7237a (diff) | |
blk-throttle: factor out code to calculate ios/bytes_allowed
No functional changes, new apis will be used in later patches to
calculate wait time for throttled bios when new configuration is
submitted.
Noted this patch also rename tg_with_in_iops/bps_limit() to
tg_within_iops/bps_limit().
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