block, bfq: remove BFQ_WEIGHT_LEGACY_DFL
authorChengming Zhou <zhouchengming@bytedance.com>
Thu, 6 Apr 2023 14:50:48 +0000 (22:50 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 6 Apr 2023 22:17:32 +0000 (16:17 -0600)
commite9f2f3f590289681c71d0137d4e5e88421f934c6
tree6f43c465a7e2e9e24c2ef3e94c0fc9bc2e6c2f55
parent4c4dd04e75e8177311d17387326253674cb0558b
block, bfq: remove BFQ_WEIGHT_LEGACY_DFL

BFQ_WEIGHT_LEGACY_DFL is the same as CGROUP_WEIGHT_DFL, which means
we don't need cpd_bind_fn() callback to update default weight when
attached to a hierarchy.

This patch remove BFQ_WEIGHT_LEGACY_DFL and cpd_bind_fn().

Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20230406145050.49914-2-zhouchengming@bytedance.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-cgroup.c
block/bfq-iosched.h