[CRIU] [PATCH 2/9] dump: Defer dumping of inotify entries

Pavel Emelyanov xemul at parallels.com
Mon Dec 3 05:59:35 EST 2012


On 11/30/2012 07:42 PM, Cyrill Gorcunov wrote:
> 
> We need to defer dumping of inotify entries which
> will allow us to detect if inotify watch target
> is a ghost file.
> 
> This patch simply makes main fds dumping cycle
> to run twise. This is far from being optimal
> but works atm.

This doesn't work. File can be inotified by one task, but
being open from another.

> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
>  cr-dump.c |   34 ++++++++++++++++++++++++----------
>  1 files changed, 24 insertions(+), 10 deletions(-)
> 




More information about the CRIU mailing list