]> www.infradead.org Git - users/dwmw2/linux.git/commit
blk-cgroup: move congestion_count to struct blkcg
authorXiu Jianfeng <xiujianfeng@huawei.com>
Tue, 16 Jul 2024 13:30:58 +0000 (13:30 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 19 Jul 2024 15:40:07 +0000 (09:40 -0600)
commit89ed6c9ac69ec398ccb648f5f675b43e8ca679ca
tree7c7633cf1c53cf4eae053bb8499d7f736571388f
parent72d04bdcf3f7d7e07d82f9757946f68802a7270a
blk-cgroup: move congestion_count to struct blkcg

The congestion_count was introduced into the struct cgroup by
commit d09d8df3a294 ("blkcg: add generic throttling mechanism"),
but since it is closely related to the blkio subsys, it is not
appropriate to put it in the struct cgroup, so let's move it to
struct blkcg. There should be no functional changes because blkcg
is per cgroup.

Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20240716133058.3491350-1-xiujianfeng@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c
block/blk-cgroup.h
include/linux/cgroup-defs.h