Skip to content
Commit 5d47738a authored by Pavel Emelyanov's avatar Pavel Emelyanov
Browse files

pagemap: Support async pages reading by chunks (v2)

When we collect all the read_page requests into one big preadv
call, the latter one may not read all the data in one go and
return less bytes read, than requested.

This is valid and already met in a bug :) So advance the iovec
set with the ret value and continue reading.

v2: Compilation fix on arm-s
    A little bit more debugging

https://github.com/xemul/criu/issues/271



travis-ci: success for series starting with [1/2] pagemap: Support async pages reading by chunks (v2)
Signed-off-by: default avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 6267e267
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment