[CRIU] [PATCH v4 04/17] protobuf: autofs mount entry introduced

Pavel Emelyanov xemul at parallels.com
Tue Jan 19 07:46:45 PST 2016


>>> +}
>>> +
>>>   message mnt_entry {
>>>   	required uint32		fstype			= 1;
>>>   	required uint32		mnt_id			= 2;
>>> @@ -45,4 +59,6 @@ message mnt_entry {
>>>   
>>>   	optional bool		deleted			= 16;
>>>   	optional uint32		sb_flags		= 17 [(criu).hex = true];
>>> +
>>> +	optional autofs_entry	autofs			= 18;
>> Plz, describe how this field will be managed for mountpoints
>> sharing the same superblock (e.g. mount and bind-mount of it)?
> 
> All of them will have the same data here. I.e. it's duplicated.

Too bad :(

I start thinking that my proposal to have fs-specific field on mount entry
was wrong, since the mount entry is _a_ _mount_ _entry_, not a super block
one. So for writing super block data we should introduce another image(s).

-- Pavel


More information about the CRIU mailing list