[CRIU] [PATCH 3/4] cg: Add ability to dump specified controllers only

Pavel Emelyanov xemul at virtuozzo.com
Tue May 17 04:52:19 PDT 2016


On 05/16/2016 04:27 PM, Cyrill Gorcunov wrote:
> On Mon, May 16, 2016 at 04:08:11PM +0300, Cyrill Gorcunov wrote:
>>>
>>> Isn't --cgroup-props freeser:none equals to --cgroup-dump-controller mem,cpu,<everything-else>?
>>> From my perspective former CLI would be shorter ;)
>>
>> Well, agreed. I'll have to rework the patch then. Drop it,
>> will do new one.
> 
> Note though there is significant problem with this approach -- the name of
> cgroup may be dynamic (say name=xxx) and at moment of dump we simply
> may don't know it. So we need to specify only controllers to be carried
> into the image. Maybe something like --cgroup-props freezer:built-in
> and such?

But you know the names of those "to be included" guys, what's bad with
finding out the "to be excluded" list?

-- Pavel



More information about the CRIU mailing list