[CRIU] [PATCH 0/5] deduplication: pages image old

Andrew Vagin avagin at parallels.com
Mon Oct 14 00:09:28 PDT 2013


On Sun, Oct 13, 2013 at 04:22:51PM +0400, Tikhomirov Pavel wrote:
> Hi, this patch add deduplication of pages-%d.img files, where data was
> changed after previous snapshot. It gets previous snapshot images from
> "parent" symlink. Command is "criu dedup".

Usually this functionality is called "merge", isn't it?

Can we do deduplication on the fly for predumped images?

> 
> Thanks,
> Pavel.
> 
> Tikhomirov Pavel (5):
>   Fix for open_pages_image_at to read if opened with O_RDWR
>   deduplication: add dedup comand to criu
>   deduplication: look up for old pages in previous snapshot
>   deduplication: add punching holes in "parent"
>   deduplication: test
> 
>  Makefile.crtools          |    1 +
>  cr-dedup.c                |  150 +++++++++++++++++++++++++++++++++++++++++++++
>  crtools.c                 |    7 +++
>  image.c                   |    2 +-
>  include/cr-dedup.h        |   15 +++++
>  include/crtools.h         |    1 +
>  include/page-read.h       |    1 +
>  page-read.c               |   22 ++++++-
>  test/mem-snap/run-snap.sh |    5 ++
>  9 files changed, 200 insertions(+), 4 deletions(-)
>  create mode 100644 cr-dedup.c
>  create mode 100644 include/cr-dedup.h
> 
> -- 
> 1.7.9.5
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list