[CRIU] [PATCH cr 12/12] pipes: align pipe data on page size in an image file

Andrey Vagin avagin at openvz.org
Thu Apr 5 07:47:13 EDT 2012


It's due to splice, because it sets a page from page cache as a pipe buffer.
A pipe has only 16 slots and if a data will not be aligned on page size,
they may be not fitted in the pipe.

Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 cr-dump.c |    5 +++++
 cr-show.c |    8 ++++++--
 pipes.c   |   12 +++++++++++-
 3 files changed, 22 insertions(+), 3 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-pipes-align-pipe-data-on-page-size-in-an-image-file.patch
Type: text/x-patch
Size: 1767 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120405/f104c519/0012-pipes-align-pipe-data-on-page-size-in-an-image-file.bin


More information about the CRIU mailing list