* [RFC PATCH] blk-throttle: export io_serviced_recursive, io_service_bytes_recursive
@ 2017-11-28 5:18 weiping zhang
0 siblings, 0 replies; only message in thread
From: weiping zhang @ 2017-11-28 5:18 UTC (permalink / raw)
To: axboe; +Cc: linux-block
export these two interface for cgroup-v1.
Signed-off-by: weiping zhang <zhangweiping@didichuxing.com>
---
block/blk-throttle.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/block/blk-throttle.c b/block/blk-throttle.c
index 96ad326..1d7637f 100644
--- a/block/blk-throttle.c
+++ b/block/blk-throttle.c
@@ -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 */
};
--
2.9.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-11-28 5:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-28 5:18 [RFC PATCH] blk-throttle: export io_serviced_recursive, io_service_bytes_recursive weiping zhang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.