[CRIU] [PATCH 0/3] remote-lazy-page: fixup page-pipe changes

Andrei Vagin avagin at virtuozzo.com
Tue Nov 21 02:15:47 MSK 2017


Applied, thanks
On Thu, Nov 16, 2017 at 01:54:04PM +0200, Mike Rapoport wrote:
> Hi,
> 
> Until recently, the remote pages code presumed that the layout of page-pipe
> buffers is completely reflected by pagemap*img files. With this assumption,
> every request for remote pages is satisfied with the exact amount of pages.
> 
> Commit e609267f681062b4370e528a50f635222e0c2330 ("page-pipe: allow to
> share pipes between page pipe buffers") changed the way page-pipes are
> created for cases other than 'criu dump' and the assumption above no longer
> holds for zdtm testing.
> 
> When we run zdtm.py with --remote-lazy-pages we simulate dump side page
> server with 'page-server --lazy-pages' that recreates page-pipes from the
> images. In this case the page-pipe layout differs from pagemap*img layout
> and this causes remote lazy-pages testing to stuck.
> 
> Enabling partial receive of the page data resolves this problem.
> 
> Mike Rapoport (3):
>   debug_show_page_pipe: add PPB's pipe offset
>   page-xfer: remote-pages: allow receiving partial data
>   lazy-pages: drop_iovs: mark iov as not queued
> 
>  criu/page-pipe.c |  4 ++--
>  criu/page-xfer.c | 12 +++++++++++-
>  criu/uffd.c      |  2 ++
>  3 files changed, 15 insertions(+), 3 deletions(-)
> 
> -- 
> 2.7.4
> 


More information about the CRIU mailing list