[CRIU] [PATCH 15/18] dump: Add dumping of fanotify objects

Cyrill Gorcunov gorcunov at openvz.org
Fri Jan 11 11:58:16 EST 2013


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         | 80 ++++++++++++++++++++++++++++++++++++++++++++----------
 include/fsnotify.h |  3 +-
 3 files changed, 71 insertions(+), 16 deletions(-)

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


More information about the CRIU mailing list