[CRIU] [PATCH 0/3] mount: dump tmpfs content even if a part of it is overmounted (v2)

Andrey Vagin avagin at openvz.org
Thu Aug 1 08:44:37 EDT 2013


If a part of tmpfs is overmounted, it is mounted in a temporary place
without child mounts.

v2: * check, that the fs you get access to at the end is _really_ the
      one you wanted to
    * use switch_ns/restore_ns helpers

Andrey Vagin (3):
  mount: build tree of mounts before dumping them
  mount: allow to dump content even if a part of fs is overmounted (v2)
  zdtm: check that overmounted parts of tmpfs are restored

 mount.c                             | 105 +++++++++++++++++++++++++++++++++---
 test/zdtm/live/static/mountpoints.c |  22 ++++++++
 2 files changed, 121 insertions(+), 6 deletions(-)

-- 
1.8.3.1



More information about the CRIU mailing list