[CRIU] [PATCH 00/09] [RFC] mounts: restore of shared, slave, bind mounts

Andrey Wagin avagin at gmail.com
Tue Jul 9 08:36:04 EDT 2013


2013/7/9 Pavel Emelyanov <xemul at parallels.com>:
> On 07/09/2013 03:05 PM, Andrey Vagin wrote:
>> The idea is simple. If a mount can't be mounted now, we will try to
>> mount it later.
>
> Am I right, that this is "restore of shared, etc. mounts" only for those,
> sitting within one mount namespace?

Yes. The next steps will be:
* how to restore shared mounts from a root namespace. Should we do that?
* how to restore nested mount namespaces, which are used by systemd.
Do we need this?
* """ This place is free for your suggestions """

>
>> Andrey Vagin (9):
>>   zdtm: expand the mountpoints test
>>   tmpfs: use the --one-file-system option for dumping tmpfs with help
>>     tar
>>   mount: link dependent mounts
>>   mount: save group and master in image file
>>   mounts: handle bind-mounts
>>   mounts: enumirate mounts bellow specified element
>>   mounts: if a mount can't be mounted, it is queued in postpone list
>>   mounts: find mounts, which are propagated from a current one
>>   mounts: handle shared and slave mounts
>>
>>  include/proc_parse.h                |  10 ++
>>  mount.c                             | 296 +++++++++++++++++++++++++++++-------
>>  protobuf/mnt.proto                  |   3 +
>>  test/zdtm/live/static/mountpoints.c |  82 ++++++++++
>>  5 files changed, 341 insertions(+), 56 deletions(-)
>>
>
>


More information about the CRIU mailing list