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

Andrew Vagin avagin at virtuozzo.com
Wed Mar 28 22:45:25 MSK 2018


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...

> 
> -- Pavel


More information about the CRIU mailing list