[CRIU] [PATCH] stats/pid-reuse: put stats to image directory instead of cwd

Pavel Emelyanov xemul at virtuozzo.com
Wed Mar 28 22:00:04 MSK 2018


>>> 1) When stats image is in images dir we can latter analize stats for 
>>> each iteration if we want it. Now doing migration in VZ7 we have only 
>>> stats of last dump in the end.
>>
>> The same problem's for log files (I hope nobody has moved them into images dir
>> so far), isn't it? Use separate workdir for each iteration.
> 
> It isn't the same, because a name of a log file is specified in options,
> but the name of stats file is hardcoded.

But the location for stats file (work-dir) is specified in CLI options. You can
have separate work-dirs for separate actions to (quoting) "later alaize stats
for each iteration".

-- Pavel


More information about the CRIU mailing list