• Mike Rapoport's avatar
    page-xfer: remote-pages: allow receiving partial data · 7ce804ed
    Mike Rapoport authored
    Since commit e609267f681062b4370e528a50f635222e0c2330 ("page-pipe: allow to
    share pipes between page pipe buffers") the assumption that we will receive
    the exact amount of pages we've requested with PS_IOV_GET does not always
    hold.
    In the case we serve pages data from the images using 'page-server
    --lazy-page' the IOVs seen by the pagemap may cross page-pipe buffer
    boundaries and read_page_pipe will clamp the pages in the response to those
    boundaries.
    Adjust page_server_read so it will not try to receive more pages than
    page-server is going to send.
    Signed-off-by: 's avatarMike Rapoport <rppt@linux.vnet.ibm.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    7ce804ed
Name
Last commit
Last update
Documentation Loading commit data...
compel Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.compel Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...