blk-throttle: export io_serviced_recursive, io_service_bytes_recursive
Subsystems (3)
RFC 1/1 blk-throttle: export io_serviced_recursive, io_service_bytes_recursive
export these two interface for cgroup-v1.
Signed-off-by weiping zhang <[email protected]>
--- block/blk-throttle.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
block/blk-throttle.c +10 -0
@@ -1512,10 +1512,20 @@ static struct cftype throtl_legacy_files[] = { .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 */ };
Signature · 1 line
2.9.4
Quoted 3 lines · weiping zhang
export these two interface for cgroup-v1.
Signed-off-by weiping zhang <[email protected]>
Acked-by Tejun Heo <[email protected]>
Thanks.
Signature · 1 line
tejun
2017-12-11 23:17 GMT+08:00 Tejun Heo <[email protected]>:
Quoted 9 lines · weiping zhang
Quoted 3 lines
export these two interface for cgroup-v1.
Signed-off-by weiping zhang <[email protected]>Acked-by Tejun Heo <[email protected]>Thanks.
Hi Jens,
these two interface are useful to collect blkcg info, would you pick it up ?
Thanks
2017-12-11 23:17 GMT+08:00 Tejun Heo <[email protected]>:
Quoted 7 lines · weiping zhang
Quoted 3 lines
export these two interface for cgroup-v1.
Signed-off-by weiping zhang <[email protected]>Acked-by Tejun Heo <[email protected]>
Hi Jens,
Have you got time to check this patch ?
Thanks
Quoted 4 lines
Thanks.
--
tejun
Quoted 1 line · weiping zhang
export these two interface for cgroup-v1.
Applied, thanks.
Signature · 1 line
Jens Axboe