mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
blk-throttle: export io_serviced_recursive, io_service_bytes_recursive
export these two interface for cgroup-v1. Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: weiping zhang <zhangweiping@didichuxing.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
2c2086afc2
commit
17534c6f2c
@ -1510,11 +1510,21 @@ static struct cftype throtl_legacy_files[] = {
|
||||
.private = (unsigned long)&blkcg_policy_throtl,
|
||||
.seq_show = blkg_print_stat_bytes,
|
||||
},
|
||||
{
|
||||
.name = "throttle.io_service_bytes_recursive",
|
||||
.private = (unsigned long)&blkcg_policy_throtl,
|
||||
.seq_show = blkg_print_stat_bytes_recursive,
|
||||
},
|
||||
{
|
||||
.name = "throttle.io_serviced",
|
||||
.private = (unsigned long)&blkcg_policy_throtl,
|
||||
.seq_show = blkg_print_stat_ios,
|
||||
},
|
||||
{
|
||||
.name = "throttle.io_serviced_recursive",
|
||||
.private = (unsigned long)&blkcg_policy_throtl,
|
||||
.seq_show = blkg_print_stat_ios_recursive,
|
||||
},
|
||||
{ } /* terminate */
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user