[CRIU] multiple img files

Pavel Emelyanov xemul at parallels.com
Mon Sep 15 03:14:47 PDT 2014


On 09/13/2014 03:18 AM, Sanidhya Kashyap wrote:
> Hi,
> 
> I wanted to know why do we have multiple img files for dumping and
> restoring the data using criu.

CRIU puts different objects in different order. And reads different
objects in different order. If we put all objects in one file we'd
have to support some index to search in it. Having multiple files was
the easiest solution.

> What will happen if we used a single file to dump everything instead
> of multiple files?
> 
> Is there a case that the criu code might be writing / reading the data
> to / from multiple files simultaneously?

On restore CRIU may read from per-task images simultaneously.

> Thanks,
> Sanidhya
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
> 



More information about the CRIU mailing list