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

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Mon Dec 11 19:07:17 MSK 2017


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