[CRIU] [PATCH v3 00/16] AutoFS mounts migration support

Stanislav Kinsburskiy skinsbursky at odin.com
Mon Dec 14 08:25:36 PST 2015


So, let me try summarize all we have discussed here so far:

1) Helpers: add_to_string_vargs and and construct string. You don't like 
them? They are more efficient, then add_options and friend, BTW. And 
fully generic.
2) Autofs migration data have to be represented by optional autofs 
structure in mount protobuf format.
3) Are we trying to preserve original pipe write fd on restore? If yes, 
then we need "used" list.
4) Regardless of presence or absence of opened write end, some routing 
to search for file descriptor list entry is required: either to masrk 
write end or to clone read end.
5) "Clone file descriptor list entry" helper is required to construct 
write end is absent.
6) Which way should autofs restore follow: use some artificial objects, 
handled after all files are opened or callbacks between autofs and 
pipes? In case of the latter, some callback have to be put on pipe_entry 
structure, so it can be called in new post_open() for pipes.

I hope, I didn't miss anything.
Please, review and comment.



More information about the CRIU mailing list