Re: [PATCH] cgroups: Do not show inactive devices in cgroups statistics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 26, 2013 at 2:08 PM, Vivek Goyal <vgoyal@xxxxxxxxxx> wrote:
> I don't have an objection to not listing stats of devices which are
> zero, but wondering why all the devices of system are showing in
> cgroup stat.
>
> Don't we add a blkg to a blkcg only if that cgroup did some IO to
> that particular device. If yes, then only those devices should
> show to which cgroup did some IO and that should be non-zero.
>
> Is it because of hierarchical support where if a child does IO
> to device, we will add an blkg instance to parent's cgroup? In
> that case hierarchical stats will still be non-zero but group
> local stat can be zero.

I wondered that too.  Maybe they're configuring all combinations?  Anatol?

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux