Re: [PATCH blk-cgroup/for-5.8] blk-cgroup: show global disk stats in root cgroup io.stat

2020-06-01 Thread Tejun Heo
Hello, Boris. On Fri, May 29, 2020 at 04:20:17PM -0700, Boris Burkov wrote: > In order to improve consistency and usability in cgroup stat accounting, > we would like to support the root cgroup's io.stat. > > Since the root cgroup has processes doing io even if the system has no > explicitly

[PATCH blk-cgroup/for-5.8] blk-cgroup: show global disk stats in root cgroup io.stat

2020-05-29 Thread Boris Burkov
In order to improve consistency and usability in cgroup stat accounting, we would like to support the root cgroup's io.stat. Since the root cgroup has processes doing io even if the system has no explicitly created cgroups, we need to be careful to avoid overhead in that case. For that reason,