[CRIU] [PATCH 2/2] fsnotify: Do not track deleted watchees

Andrew Vagin avagin at parallels.com
Tue Feb 25 00:42:51 PST 2014


On Tue, Feb 25, 2014 at 12:41:37PM +0400, Cyrill Gorcunov wrote:
> On Tue, Feb 25, 2014 at 12:33:56PM +0400, Andrew Vagin wrote:
> > On Tue, Feb 25, 2014 at 12:21:06PM +0400, Cyrill Gorcunov wrote:
> > > 
> > > If the watchee is deleted we might be able to
> > > open in by file handle at checkpoint time but
> > > fail on restore. And since we don't have any kernel's
> > > interface to fetch and restore fsnotify event queue
> > > simply ignore such watchees.
> > 
> > I think we should not ingore events in a queue.
> 
> Sure we should not, but we can't fetch them now, we simply
> have no interface for that.
> 
> Still I guess you mean here to add poll call and refuse
> to checkpoint if there is queued data, right?

Yes.


More information about the CRIU mailing list