[CRIU] [PATCH cr 10/12] pipes: restore pipes data
Andrey Vagin
avagin at openvz.org
Thu Apr 5 07:47:11 EDT 2012
Restore all data in a one place.
Pipes data are saved in a file and they saved together with
a read tail, but they may be restored only with a write tail.
So we have to way:
* Find data in a file for each pipe
* Find pipe for each portion of data
Information about pipes are saved in memory, so I choose this way.
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
cr-restore.c | 2 +
include/files.h | 1 +
pipes.c | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 79 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0010-pipes-restore-pipes-data.patch
Type: text/x-patch
Size: 2380 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120405/99b2640c/0010-pipes-restore-pipes-data-0001.bin
More information about the CRIU
mailing list