diff options
author | 2023-08-16 09:27:07 +0800 | |
---|---|---|
committer | 2023-08-30 10:15:01 -0600 | |
commit | e8368b57c006dc0e02dcd8a9dc9f2060ff5476fe (patch) | |
tree | 513ca5faafdbda269ea3968494c42f55ed504699 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | blk-throttle: fix wrong comparation while 'carryover_ios/bytes' is negative (diff) | |
download | wireguard-linux-e8368b57c006dc0e02dcd8a9dc9f2060ff5476fe.tar.xz wireguard-linux-e8368b57c006dc0e02dcd8a9dc9f2060ff5476fe.zip |
blk-throttle: use calculate_io/bytes_allowed() for throtl_trim_slice()
There are no functional changes, just make the code cleaner.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20230816012708.1193747-4-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions