[CRIU] [RFC] FSTYPE__UNSUPPORTED/AUTO && non-virtual filesystems
Oleg Nesterov
oleg at redhat.com
Tue Mar 31 04:51:23 PDT 2015
On 03/30, Pavel Emelyanov wrote:
>
> On 03/30/2015 06:44 PM, Christopher Covington wrote:
> > Hi Oleg,
> >
> > On 03/28/2015 02:18 PM, Oleg Nesterov wrote:
> >
> >> BUT. This makes me think again that we do want --ignore-this-mountpoint
> >> option. Why not? And afaics trivial to implement. Of course, this will
> >> be "use at your own risk" too.
> >
> > How hard would it be to unshare the mount namespace, unmount the mountpoint
> > you want to ignore, and then dump the checkpoint?
>
> It will only work if there are no files opened/mapped on the mountpoint
> we want to ignore :)
Obviously ;) but this is the valid use-case too, see below.
> With the --enable-fs we just tell CRIU to auto-add
> the desired filesystem into the "supported" list. E.g. tons of on-disk FS-s
> don't require special handling, neither we can add all of the into sources.
I guess Christopher didn't argue with --enable-fs...
He commented another idea to add another --skip-mnt cli argument. I hope
I will find the time to send the (simple) patch today.
And yes, sure, it can only work if nothing depends on the ignored mntpnt.
But this all is a bit off-topic in this thread... I'll send another email
to remind about resolve_source().
Oleg.
More information about the CRIU
mailing list