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

Pavel Emelyanov xemul at virtuozzo.com
Thu Mar 29 22:03:09 MSK 2018


On 03/28/2018 10:45 PM, Andrew Vagin wrote:
> On Wed, Mar 28, 2018 at 10:00:04PM +0300, Pavel Emelyanov wrote:
>>
>>>>> 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".
> 
> It is impossible to specify a work dir for a previous iteration...

For previous of course, but why would you need it?


More information about the CRIU mailing list