[CRIU] [PATCH 3/5] ghost-files: Save device and inode in image
Cyrill Gorcunov
gorcunov at openvz.org
Wed Dec 5 15:46:55 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: 0003-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/20121206/4c622251/attachment.bin>
More information about the CRIU
mailing list