[CRIU] [PATCH 0/7] inotify, ghost files handling, v2

Cyrill Gorcunov gorcunov at openvz.org
Mon Dec 3 10:26:57 EST 2012


Here is an updated series. The overall idea was simplified
(thanks Pavel!). Please take a look.

Cyrill Gorcunov (7):
  files-reg: Move structs ghost_file and file_remap to the header
  util: Increase shmem chunk to 16K
  files-reg: Allocate the complete ghost file structure in shared memory  files-reg: Add a few helpers to access ghost files from inotify
  ghost-files: Save device and inode in image
  inotify: Use ghost files if the watchee is a deleted file
  zdtm: Extend inotify00 test to have ghost file used

 files-reg.c                       | 68 +++++++++++++++++++++++----------------
 include/files-reg.h               | 27 +++++++++++++++-
 inotify.c                         | 21 ++++++++----
 protobuf/ghost-file.proto         |  3 ++
 test/zdtm/live/static/inotify00.c | 21 +++++++++++-
 util.c                            |  2 +-
 6 files changed, 105 insertions(+), 37 deletions(-)

-- 
1.8.0.1


More information about the CRIU mailing list