[CRIU] [RFC PATCH 0/6] introduce FSTYPE__AUTO

Oleg Nesterov oleg at redhat.com
Mon Mar 30 07:21:15 PDT 2015


On 03/30, Pavel Emelyanov wrote:
>
> On 03/27/2015 08:55 PM, Oleg Nesterov wrote:
> >
> > I tried to dump/restore the dummy (/bin/sleep actually) application
> > running in unshared mnt namespace. Dump/Restore fails because a lot
> > of filesystems are FSTYPE__UNSUPPORTED: xfs, hugetlbfs, autofs, configfs,
> > selinuxfs.
>
> XFS is unsupported just because nobody marked it as supported :)

Not really, please see another dirty RFC hack I sent yesterday,
"[RFC] FSTYPE__UNSUPPORTED/AUTO && non-virtual filesystems".

> AutoFS is a terrible beast :( We can't "just" dump and restore it
> as it _may_ have connection to the daemon that we're C/R-ing. So
> this one _does_ need special care when C/R-ed.

Yeeesss. That is why I think another simple hack^Wfeature makes sense,
I'll try to send it today.

> > Of course, trivial to fix. Just add FSTYPE__HUGETLBFS/etc. But isn't
> > this ugly?
>
> Well, we did this list deliberately to avoid accidents with filesystems
> that need special caring. Like autofs. Like NFS. Like fuse :)

Yes, yes, I understand and I agree. So this new feauture is obviously
"use at your own risk and only if you know what you do".

> I really like the feature and have only a couple of comments to the
> patchset itself, please see them in respective patches.

OK, thanks. I'll try to address your comments in the next version.

Oleg.



More information about the CRIU mailing list