[CRIU] [PATCH 6/7] inotify: Use ghost files if the watchee is a deleted file
Cyrill Gorcunov
gorcunov at openvz.org
Mon Dec 3 15:49:22 EST 2012
On Tue, Dec 04, 2012 at 12:36:27AM +0400, Cyrill Gorcunov wrote:
> On Tue, Dec 04, 2012 at 12:31:09AM +0400, Pavel Emelyanov wrote:
> > On 12/04/2012 12:26 AM, Cyrill Gorcunov wrote:
> > > On Tue, Dec 04, 2012 at 12:17:47AM +0400, Pavel Emelyanov wrote:
> > >>>
> > >>> Because fdinfo provides kernel's device while in ghost files we do use
> > >>> one obtained from stat call, so I needed to make a conversion here.
> > >>>
> > >>
> > >> That's restore time, both numbers came from image files.
> > >
> > > We save device encoded with in-kernel format for inotify and with
> > > stat format for ghost files. And I would like to save it in this
> > > way simply because we alreasy use in-kernel format for open_mount call
> > > as well.
> >
> > Let's put device in one format all over in the images. All the more so
> > it's this set that adds one for ghost files.
>
> OK, will update then. Thanks for the hint.
Here is update for this patch. And for ghost files I'll attach in appropriate
message, thus you'll have all message thread consistent.
More information about the CRIU
mailing list