Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 89ed6c9a authored by Xiu Jianfeng's avatar Xiu Jianfeng Committed by Jens Axboe
Browse files

blk-cgroup: move congestion_count to struct blkcg

The congestion_count was introduced into the struct cgroup by
commit d09d8df3

 ("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: default avatarXiu Jianfeng <xiujianfeng@huawei.com>
Acked-by: default avatarTejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20240716133058.3491350-1-xiujianfeng@huawei.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 72d04bdc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment