@@ -1491,22 +1491,30 @@ static struct cftype throtl_legacy_files[] = {
.write = tg_set_conf_uint,
},
{
- .name = "throttle.io_service_bytes",
+ .name = "io_service_bytes",
+ .owner_name = "throttle",
+ .flags = CFTYPE_SHARES_FILE,
.private = (unsigned long)&blkcg_policy_throtl,
.seq_show_cft = blkg_print_stat_bytes,
},
{
- .name = "throttle.io_service_bytes_recursive",
+ .name = "io_service_bytes_recursive",
+ .owner_name = "throttle",
+ .flags = CFTYPE_SHARES_FILE,
.private = (unsigned long)&blkcg_policy_throtl,
.seq_show_cft = blkg_print_stat_bytes_recursive,
},
{
- .name = "throttle.io_serviced",
+ .name = "io_serviced",
+ .owner_name = "throttle",
+ .flags = CFTYPE_SHARES_FILE,
.private = (unsigned long)&blkcg_policy_throtl,
.seq_show_cft = blkg_print_stat_ios,
},
{
- .name = "throttle.io_serviced_recursive",
+ .name = "io_serviced_recursive",
+ .owner_name = "throttle",
+ .flags = CFTYPE_SHARES_FILE,
.private = (unsigned long)&blkcg_policy_throtl,
.seq_show_cft = blkg_print_stat_ios_recursive,
},