[CRIU] Fake mount points in dump

Pavel Emelyanov xemul at parallels.com
Wed Jan 20 05:24:36 PST 2016


On 01/20/2016 04:16 PM, Stanislav Kinsburskiу wrote:
> 
> 20 янв. 2016 г. 14:08 пользователь Pavel Emelyanov <xemul at parallels.com> написал:
>>
>>
>>>> It is. Check the /proc/pid/mountinfo files themselves, maybe the mp just 
>>>> got propagated from host to container or vice versa. 
>>>
>>> I think the problem is much simpler. 
>>> Autofs uses "parse" callback for early check, whether it can be dumped 
>>> (checking pipe status). 
>>> The intention was to detect unsupported mounts early. But looks like 
>>> "parse" doesn't suit this role, because it's called for for host mounts. 
>>> What was the reason behind this callback? 
>>
>> Parsing fs-specific options. 
>>
> 
> Why it can't be done, say, on dump stage?

Pardon? The fstype->parse() is called on dump stage, isn't it?

> What was the reason to invent one more callback?

One more additionally to which?

-- Pavel



More information about the CRIU mailing list