[CRIU] [PATCH] mnt: Use ns_mountpoint to open a mount point

Cyrill Gorcunov gorcunov at gmail.com
Mon Oct 12 04:17:31 PDT 2015


On Mon, Oct 12, 2015 at 02:09:38PM +0300, Pavel Emelyanov wrote:
> > 
> > It doesn't fix everything, as we found there is problem with bindmount
> > case. So Andrew did a fix for tmpfs and a test for it. The bindmount
> > case is anothe problem and gonna be addressed on top.
> 
> Wait, the fix saving mnt_id on watch image has nothing to do with
> tmpfs, it just happens that we test it using tmpfs mount.

And my work is on top of it ;) Andrew already introduced mnt-id for
file handle so I don't need to introduce it again. That's the only
point I meant.

> 
> > What about unlinked files, mind to refresh?
> 
> open_handle() failed for unlinked tmpfs file with -ESTALE and our logic
> picking path for tmpfs unconditionally didn't work.

Ah, this one. Yeah, I didn't look into it yet.


More information about the CRIU mailing list