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

Cyrill Gorcunov gorcunov at gmail.com
Tue Feb 25 00:41:37 PST 2014


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?


More information about the CRIU mailing list