+35
−24
Loading
mainline inclusion from mainline-v6.1-rc1 commit 681cd46f category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IA8QFN Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=681cd46fff8cd81e387747c7850f2e730d3e0b74 -------------------------------- 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 <yukuai3@huawei.com> Acked-by:
Tejun Heo <tj@kernel.org> Link: https://lore.kernel.org/r/20220829022240.3348319-4-yukuai1@huaweicloud.com Signed-off-by:
Jens Axboe <axboe@kernel.dk> Conflicts: block/blk-throttle.c [Commit 34841e6f ("block: revert 4f1e9630 ("blk-throtl: optimize IOPS throttle for large IO scenarios")") remove the judgment of iops_limit] Signed-off-by:
Li Lingfeng <lilingfeng3@huawei.com>