[CRIU] [PATCH 0/2] fsnotify: merge inotify wd image into inotify image

Andrey Vagin avagin at openvz.org
Wed Aug 20 03:31:16 PDT 2014


All watch descriptors are collected in a list and then
they are written in inotify image as a repeated field.

This images merge reduces the amount of image files criu
generates and may simplify the fix of mentioned above issue.

If you like these patches, I will merge the fanotify mark image into
the fanotify image by the same way.

Andrey Vagin (2):
  fsnotify: parse_fdinfo_pid_s() returns allocated object for inotify wd
  fsnotify: merge inotify wd image into inotify image

 cr-check.c              |  3 +-
 fsnotify.c              | 81 +++++++++++++++++++++++++++++++++++++++++--------
 include/fsnotify.h      |  9 ++++++
 include/image-desc.h    |  2 +-
 include/proc_parse.h    |  5 ++-
 proc_parse.c            | 44 ++++++++++++++++++---------
 protobuf/fsnotify.proto |  1 +
 7 files changed, 116 insertions(+), 29 deletions(-)

-- 
1.9.3



More information about the CRIU mailing list