[CRIU] [PATCH 13/17] dump: Add dumping of fanotify objects

Cyrill Gorcunov gorcunov at openvz.org
Mon Dec 10 16:34:09 EST 2012


Basically the idea is simple:

 - in main dumping routine dump_one_file with help
   of link type, we choose which dumper should run
   either one for inotify or for fanotidy
 - the rest of work is done by dump_one_fsnotify helper,
   which depending on notification type either calls
   for dump_one_inotify or for dump_one_fanotify

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 cr-dump.c          |  4 ++-
 fsnotify.c         | 79 ++++++++++++++++++++++++++++++++++++++++++++----------
 include/fsnotify.h |  3 ++-
 3 files changed, 70 insertions(+), 16 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0013-dump-Add-dumping-of-fanotify-objects.patch
Type: text/x-patch
Size: 4822 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20121211/f0eb7def/attachment-0001.bin>


More information about the CRIU mailing list