mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-29 04:50:26 +00:00
lazy-pages: fork: fix duplication of IOV lists
Instead of merging unfinished requests with child's IOVs we queued them into parent's IOV list. Fix it. Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
7ffaf883bd
commit
95ea4e92a8
1 changed files with 1 additions and 1 deletions
|
|
@ -475,7 +475,7 @@ static int copy_iovs(struct lazy_pages_info *src, struct lazy_pages_info *dst)
|
|||
* The IOVs aready in flight for the parent process need to be
|
||||
* transferred again for the child process
|
||||
*/
|
||||
merge_iov_lists(&dst->reqs, &src->iovs);
|
||||
merge_iov_lists(&dst->reqs, &dst->iovs);
|
||||
|
||||
dst->buf_size = src->buf_size;
|
||||
if (posix_memalign(&dst->buf, PAGE_SIZE, dst->buf_size))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue