[CRIU] [PATCH 0/6] merge inotify, fanotify, eventpoll pairs of images

Andrey Vagin avagin at openvz.org
Mon Aug 25 12:19:53 PDT 2014


Currently we have two images for each of these types of objects.

All watch descriptors are collected in a list and then
they are written in an 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.

Andrey Vagin (6):
  fsnotify: parse_fdinfo_pid_s() returns allocated object for inotify wd (v2)
  fsnotify: merge inotify wd image into inotify image (v3)
  fsnotify: parse_fdinfo_pid_s() returns allocated object for fanotify marks
  fsnotify: merge fanotify mark image into fanotify image (v2)
  eventpoll: parse_fdinfo_pid_s() returns allocated object for eventpol tfd
  eventpoll: merge eventpoll tfd into eventpoll image

 cr-check.c               |   6 +-
 eventpoll.c              |  77 +++++++++++++++-----
 fsnotify.c               | 179 +++++++++++++++++++++++++++++++++++++----------
 include/fsnotify.h       |   4 +-
 include/image-desc.h     |   6 +-
 include/proc_parse.h     |  31 +++++++-
 proc_parse.c             | 121 ++++++++++++++++++++++----------
 protobuf/eventpoll.proto |   1 +
 protobuf/fsnotify.proto  |   2 +
 9 files changed, 324 insertions(+), 103 deletions(-)

--
1.9.3



More information about the CRIU mailing list