[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200910143244.GF4295@mtj.thefacebook.com>
Date: Thu, 10 Sep 2020 10:32:44 -0400
From: Tejun Heo <tj@...nel.org>
To: Chengming Zhou <zhouchengming@...edance.com>
Cc: lizefan@...wei.com, hannes@...xchg.org, cgroups@...r.kernel.org,
linux-kernel@...r.kernel.org, luodaowen.backend@...edance.com
Subject: Re: [PATCH] taskstats: fix CGROUPSTATS_CMD_GET for cgroup v2
On Thu, Sep 10, 2020 at 01:52:07PM +0800, Chengming Zhou wrote:
> We found cgroupstats_build would return -EINVAL when using netlink
> CGROUPSTATS_CMD_GET interface to get stats on cgroup v2. Fix it by
> supporting cgroup v2 kernfs directory in cgroupstats_build, and export
> cgroup2_fs_type like we did for cgroup_fs_type.
>
> Reported-by: Daowen Luo <luodaowen.backend@...edance.com>
> Tested-by: Chengming Zhou <zhouchengming@...edance.com>
> Signed-off-by: Chengming Zhou <zhouchengming@...edance.com>
The exclusion of cgroupstats from v2 interface was intentional due to the
duplication and inconsistencies with other statistics. If you need these
numbers, please justify and add them to the appropriate cgroupfs stat file.
Thanks.
--
tejun
Powered by blists - more mailing lists