[CRIU] Re: [PATCH] reg-files: Serialize linking of ghost files

Cyrill Gorcunov gorcunov at openvz.org
Mon Sep 17 10:48:18 EDT 2012


On Mon, Sep 17, 2012 at 06:45:02PM +0400, Pavel Emelyanov wrote:
> >> There's a race with two ghosts of the same name.
> > 
> > Pavel, would it be an error if we just generate names for unlinked files?
> > I mean instead of that "  (deleted)" name created by dcache for us we could
> > simply generate unique names, no?
> 
> No. Use big-lock for this. There won't be 10000000-s of ghosts.

OK, i'll update and resend the patches in  a couple of minutes.


More information about the CRIU mailing list