[CRIU] [PATCH CRIU 0/4] mount: fixes for slave mounts

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Wed Jan 20 07:42:54 PST 2016


Main problem I was trying to solve that migrating Virtuozzo container
some slave mounts which at the same time were shared, become shared
only. They lost "master:%d" in /proc/self/mountinfo output. It was
because we made those mounts private before making them slave.

https://jira.sw.ru/browse/PSBM-42829

Pavel Tikhomirov (4):
  mount: get over autodetected mounts in search for widest shared peer
  mount: do not make external mounts to be private if not needed
  mount: do not mark mount internaly shared if match is master not share
  mount: if mount should have master we must not set mount private

 mount.c | 26 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

-- 
1.9.3



More information about the CRIU mailing list