[PATCH 5/7] ghost-files: Save device and inode in image

Cyrill Gorcunov gorcunov at openvz.org
Mon Dec 3 09:37:50 EST 2012


Because we need to lookup for ghost files from
inotify system where we only have device/inode
as a key, we save dev/ino in ghost image entry.

Note we use in-kernel format for device to be
consistent with inotify and mount related
code base.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 files-reg.c               | 12 ++++++++++++
 include/files-reg.h       | 13 +++++--------
 include/types.h           |  1 +
 protobuf/ghost-file.proto |  3 +++
 4 files changed, 21 insertions(+), 8 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-ghost-files-Save-device-and-inode-in-image.patch
Type: text/x-patch
Size: 2035 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20121203/369667a1/attachment.bin>


More information about the CRIU mailing list