]> www.infradead.org Git - users/hch/misc.git/commit
Revert "blk-throttle: Fix IO hang for a corner case"
authorXiuhong Wang <xiuhong.wang@unisoc.com>
Wed, 16 Oct 2024 02:45:08 +0000 (10:45 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 22 Oct 2024 14:16:40 +0000 (08:16 -0600)
commit732312e1836b9bd80828cda6417df203c1d94218
tree648e4a69f69d034a2ac4a87c0797228752602881
parent28878733ca5abbce0d0e66476605746d9c4c9765
Revert "blk-throttle: Fix IO hang for a corner case"

This reverts commit 5b7048b89745c3c5fb4b3080fb7bced61dba2a2b.

The main purpose of this patch is cleanup.
The throtl_adjusted_limit function was removed after
commit bf20ab538c81 ("blk-throttle: remove
CONFIG_BLK_DEV_THROTTLING_LOW"), so the problem of not being
able to scale after setting bps or iops to 1 will not occur.
So revert this commit that bps/iops can be set to 1.

Cc: Baolin Wang <baolin.wang@linux.alibaba.com>
Cc: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Xiuhong Wang <xiuhong.wang@unisoc.com>
Signed-off-by: Zhiguo Niu <zhiguo.niu@unisoc.com>
Acked-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20241016024508.3340330-1-xiuhong.wang@unisoc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-throttle.c