[CRIU] [PATCH] page-read: don't check that an image file contains data

Pavel Emelyanov xemul at parallels.com
Thu Dec 26 10:50:00 PST 2013


On 12/26/2013 09:44 PM, Andrey Vagin wrote:
> Here are two reasons:
> * Image files can be moved. tar and rsync can replace zero chunks on
> holes.
> * maps04 fails sometimes.
> Restore log:
> /var/lib/jenkins/jobs/CRIU/workspace/test/dump/maps04/9871/1/restore.log
> --------------------------------- grep Error
> ---------------------------------
> (07.738266)      4: Error (page-read.c:145): Can't read page because of
> hole /1a143000: No such file or directory
> (07.799325)      1: Error (cr-restore.c:1065): 4 exited, status=1
> (07.799465) Error (cr-restore.c:1600): Restoring FAILED.
> 
> I tried to execute "criu restore" again and it completed successfully.
> so image files were valid.
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>

OK, applied due to "tar and rsync" reasons.


More information about the CRIU mailing list