Changes

Jump to navigation Jump to search
78 bytes added ,  00:08, 14 August 2019
m
Add --manage-cgroups ignore (commit 42e5c04)
Line 21: Line 21:  
== CGroups that are visible by tasks ==
 
== CGroups that are visible by tasks ==
   −
Other than CGroups collected with tasks there can be other groups in which no tasks live. To pick up those CRIU gets the root set and saves all the CGroups tree starting from it. This information is stored in the <code>cgroup.controllers</code> image. In the same place CRIU saves the properties of CGroups -- these are values read from CGroup configuration files. Note -- since CRIU starts from root set and scans the directories tree, all the paths in this section are also subdirs of the root set's.
+
Other than CGroups collected with tasks there can be other groups in which no tasks live. To pick up those CRIU gets the root set and saves all the CGroups tree starting from it. This information is stored in the <code>cgroup.controllers</code> image. In the same place CRIU saves the properties of CGroups (i.e. values read from CGroup configuration files). Note that since CRIU starts from root set and scans the directories tree, all the paths in this section are also subdirs of the root set's.
    
In order to make CRIU handle this information on dump and restore one should specify the <code>--manage-cgroups</code> option.
 
In order to make CRIU handle this information on dump and restore one should specify the <code>--manage-cgroups</code> option.
Line 52: Line 52:  
* <code>full</code>. Always restore all cgroups and their properties.
 
* <code>full</code>. Always restore all cgroups and their properties.
 
* <code>strict</code>. Restore all cgroups and their properties from the scratch, requiring them to not present in the system.
 
* <code>strict</code>. Restore all cgroups and their properties from the scratch, requiring them to not present in the system.
 +
* <code>ignore</code>. Don't deal with cgroups and pretend that they don't exist.
    
By default, <code>soft</code> is assigned if <code>--manage-cgroups</code> option passed without an argument (i.e. the same as <code>--manage-cgroups=soft</code>).
 
By default, <code>soft</code> is assigned if <code>--manage-cgroups</code> option passed without an argument (i.e. the same as <code>--manage-cgroups=soft</code>).
    
[[Category:Under the hood]]
 
[[Category:Under the hood]]
277

edits

Navigation menu