Re: [Devel] [PATCH] ve/mount: allow pseudosuper to temporary exceed the container limit

2018-07-13 Thread Cyrill Gorcunov
On Fri, Jul 13, 2018 at 02:48:31PM +0300, Pavel Tikhomirov wrote: > Criu algorithm is (prepare_mnt_ns): > 1) Restore all mounts of the CT (from all mntns'es) in single temporary > mount namespace. > 2) For each mount namespace of the container recreate it's mounts: > a) Unshare temporary mntns

[Devel] [PATCH] ve/mount: allow pseudosuper to temporary exceed the container limit

2018-07-13 Thread Pavel Tikhomirov
Criu algorithm is (prepare_mnt_ns): 1) Restore all mounts of the CT (from all mntns'es) in single temporary mount namespace. 2) For each mount namespace of the container recreate it's mounts: a) Unshare temporary mntns (mounts are doubled) b) Remove with pivot_root all excess mounts So at some