[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvz-criu
Subject:    [CRIU] [PATCH 2/9] dump: Defer dumping of inotify entries
From:       gorcunov () openvz ! org (Cyrill Gorcunov)
Date:       2012-11-30 15:42:35
Message-ID: 1354290162-32583-3-git-send-email-gorcunov () openvz ! org
[Download RAW message or body]


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.

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-dump-Defer-dumping-of-inotify-entries.patch
Type: text/x-patch
Size: 2125 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20121130/aa508c33/attachment-0001.bin>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic