blk-throttle: remove CONFIG_BLK_DEV_THROTTLING_LOW
authorYu Kuai <yukuai3@huawei.com>
Thu, 9 May 2024 12:11:06 +0000 (20:11 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 9 May 2024 15:44:55 +0000 (09:44 -0600)
commitbf20ab538c81bb32edab86f503fc0c55d8243bbc
tree543cd1e241c7b8a0f2f290be57ea9597e9210a0e
parent7be835694daebbb4adffbc461519081aa0cf28e1
blk-throttle: remove CONFIG_BLK_DEV_THROTTLING_LOW

One the one hand, it's marked EXPERIMENTAL since 2017, and looks like
there are no users since then, and no testers and no developers, it's
just not active at all.

On the other hand, even if the config is disabled, there are still many
fields in throtl_grp and throtl_data and many functions that are only
used for throtl low.

At last, currently blk-throtl is initialized during disk initialization,
and destroyed during disk removal, and it exposes many functions to be
called directly from block layer.

Remove throtl low to make code much more cleaner and follow up work much
easier.

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20240509121107.3195568-2-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Documentation/ABI/stable/sysfs-block
arch/loongarch/configs/loongson3_defconfig
block/Kconfig
block/bio.c
block/blk-stat.c
block/blk-sysfs.c
block/blk-throttle.c
block/blk-throttle.h
block/blk.h