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

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


On 09/03/2014 10:44 PM, Cyrill Gorcunov wrote:
> On Wed, Sep 03, 2014 at 10:35:02PM +0400, Pavel Emelyanov wrote:
>>>
>>> Lets do another deal -- by default enable strict mode, where we require
>>> queue to be empty, for inotify00 test itself we enable relaxed mode,
>>> because the test watches '/' dentry and even if I drop all events the
>>> kernel generates new ones when I write image files ;)
>>
>> Stop watching the "/" dentry in the test ;)
> 
> Pavel, I'm reworking test completely, it is in my private branch
> which I publish once work is done, frankly I don't wanna do a double job,
> then I need to rebase again with lot of problems.
> 
>  - we need an option to ignore events? yes!

No! We need to dump and restore them. It's like data in pipes and
unix sockets. We can't drop it.

>  - we need test to pass? yes again! even such ugly one.

Yes.

Thanks,
Pavel



More information about the CRIU mailing list