[CRIU] [PATCH 2/2] cgroups: Introduce cgroup management modes

Cyrill Gorcunov gorcunov at gmail.com
Tue Jun 2 10:44:11 PDT 2015


On Tue, Jun 02, 2015 at 08:33:36PM +0300, Pavel Emelyanov wrote:
> >> What are the combinations of lazy, bindroot and props for those? And -- can we
> >> have some more meaningful names for it? And -- do we need separate options for
> >> mkdir/props for root and non-root cgroups?
> > 
> > By root you mean controllers, or toplevel cgroups?
> 
> Top-level cgroup. Do we?

Then I think we don't need separate options. What about the below?
controller:,props: options

> 
> > Maybe use some manage-cgroup=controller:[open|creat|excl],props:[try|always]?
> > where open|creat|excl stand for your 0|O_CREAT|O_EXCL and try|always for
> > restore if not exist otherwise skip, and overwrite explicitly.


More information about the CRIU mailing list