[CRIU] [PATCH 0/3] fsnotify: Bring back "ignore queues" mode

Pavel Emelyanov xemul at parallels.com
Wed Sep 3 11:15:04 PDT 2014


On 09/03/2014 10:06 PM, Cyrill Gorcunov wrote:
> Let a user to deside which mode to work with -- refuse to proceed
> if there is queued fsnotify data, or pass ignoring them. By default
> ignore them as we were since first fsnotify implementation.

NAK. We did it wrong, now we've fixed it. And test fails simply
because _it_ generates the events. Just flush the events in the
test.

> Cyrill Gorcunov (3):
>   util: fd_has_data -- Drop unneeded curved braces
>   options: Add --ignore-queue option
>   fsnotify: Bring back ignore queued fsnotify behaviour
> 
>  crtools.c            | 47 +++++++++++++++++++++++++++++++++++++++++++++++
>  fsnotify.c           | 12 ++++++++----
>  include/cr_options.h |  9 +++++++++
>  util.c               |  3 +--
>  4 files changed, 65 insertions(+), 6 deletions(-)
> 



More information about the CRIU mailing list