[CRIU] [PATCH 0/5] inotify, ghost files handling, v3

Cyrill Gorcunov gorcunov at openvz.org
Wed Dec 5 15:46:52 EST 2012


Hi, here is updated (and thanks to Pavel) pretty simplified
version of patches to use ghost files in inotify.

The following changes since commit bae3324447940f67fe3fc1656fe189599305c1fe:

  ghost: Cleanup ghost file dumping (2012-12-05 22:59:35 +0300)

are available in the git repository at:

  git://github.com/cyrillos/crtools.git notify-4

for you to fetch changes up to 5cb92d7f34a84440a613bd8e1dd671e163ce1cb9:

  zdtm: Extend inotify00 test to have ghost file used (2012-12-06 00:43:13 +0400)

----------------------------------------------------------------
Cyrill Gorcunov (5):
      files-reg: Move structs ghost_file and file_remap to the header
      files-reg: Add a few helpers to access ghost files remaps from inotify
      ghost-files: Save device and inode in image
      inotify: Use ghost files if the watchee is a deleted file, v2
      zdtm: Extend inotify00 test to have ghost file used

 files-reg.c                       | 62 +++++++++++++++++++++++++++++++++++++++-----------------------
 include/files-reg.h               | 24 +++++++++++++++++++++++-
 include/types.h                   |  1 +
 inotify.c                         | 30 ++++++++++++++++++++----------
 protobuf/ghost-file.proto         |  3 +++
 test/zdtm/live/static/inotify00.c | 21 ++++++++++++++++++++-
 6 files changed, 106 insertions(+), 35 deletions(-)

-- 
1.8.0.1


More information about the CRIU mailing list