[CRIU] Re: [PATCH 2/5] fifo: Add checkpoint restore for fifos
Cyrill Gorcunov
gorcunov at openvz.org
Tue Jun 26 06:03:50 EDT 2012
On Tue, Jun 26, 2012 at 01:59:34PM +0400, Cyrill Gorcunov wrote:
> >
> > Empty?! Don't we support fifo-s with data?
>
> You miss the point, we use copy_file to copy contents of the file
> and fifo file itself is empty, the data associated with fifo is
> holding inside kernel buffers and we dump/restore contents of such
> buffers via tee/splice to fifo-data.img, but this data has nothing
> to do with fifo file itself :)
wait, it seems I was wrong, the kernel uses do_splice_direct so indeed
contents of the fifo should be dumped, i'll update the code, thanks!
Cyrill
More information about the CRIU
mailing list