[CRIU] [PATCH 1/2] util: add a function to check output data in a file descriptor

Cyrill Gorcunov gorcunov at gmail.com
Mon Sep 1 14:19:06 PDT 2014


On Tue, Sep 02, 2014 at 01:15:02AM +0400, Andrew Vagin wrote:
> On Tue, Sep 02, 2014 at 12:40:39AM +0400, Cyrill Gorcunov wrote:
> > On Tue, Sep 02, 2014 at 12:25:13AM +0400, Andrey Vagin wrote:
> > > We can't dump netlink socket, inotify, fanotify, if they have queued
> > > data, so lets add a function to chech this.
> > > 
> > > Signed-off-by: Andrey Vagin <avagin at openvz.org>
> > 
> > We were dumping such fsnotify objects before and now we're refusing,
> > you propose to patch the kernel? I mean, how to deal with it?
> 
> CRIU should not affect the application logic. If we want to ignore
> events, we need ask permission for this from a user.

I see. Thus add the option as well I think, otherwise we're breaking
existing work. Up to Pavel though.


More information about the CRIU mailing list