[CRIU] [PATCH v4 0/9] mount: make it possible to dump overmounted mount

Andrew Vagin avagin at virtuozzo.com
Wed Dec 27 05:32:34 MSK 2017


Applied, thanks

On Mon, Dec 11, 2017 at 07:07:17PM +0300, Pavel Tikhomirov wrote:
> For our use case and explanation how we fix it - see patch 04.
> 
> We already have a test for it tempfs_overmounted, just remove crfail.
> 
> v4: Add additional fixes for mnt_resort_siblings, try_remap_mount,
> does_mnt_overmount so that we can make tmpfs_overmounted test even
> better.
> 
> Pavel Tikhomirov (9):
>   mount: add mnt_is_overmounted helper to check mount visibility
>   mount: add __umount_children_overmounts helper to make mount visible
>   mount add umount_overmounts helper to make mount visible
>   mount: make open_mountpoint handle overmouts properly
>   zdtm: now tempfs_overmounted will pass so remove crfail
>   mount: fix mnt_resort_siblings to work as described
>   mount: fix try_remap_mount
>   mount: do remaps for child-overmount of another overmount
>   zdtm: improve tempfs_overmounted test
> 
>  criu/filesystems.c                       |   2 +-
>  criu/include/mount.h                     |   2 +
>  criu/mount.c                             | 301 ++++++++++++++++++++++++++-----
>  test/zdtm/static/tempfs_overmounted.c    |  36 +++-
>  test/zdtm/static/tempfs_overmounted.desc |   2 +-
>  5 files changed, 293 insertions(+), 50 deletions(-)
> 
> -- 
> 2.14.3
> 


More information about the CRIU mailing list