summary refs log tree commit diff stats
path: root/util/async.c
diff options
context:
space:
mode:
authorLidong Chen <jemmy858585@gmail.com>2018-05-06 22:54:58 +0800
committerJuan Quintela <quintela@redhat.com>2018-05-15 22:13:08 +0200
commit71cd73061c014d04bc6b54936e675347ebc8d964 (patch)
treefa913eeca36a8d25e4b203c55aa66ed0312bdbdc /util/async.c
parentedd7080692cb43147352d736cce0fb728787f2b4 (diff)
downloadfocaccia-qemu-71cd73061c014d04bc6b54936e675347ebc8d964.tar.gz
focaccia-qemu-71cd73061c014d04bc6b54936e675347ebc8d964.zip
migration: update index field when delete or qsort RDMALocalBlock
rdma_delete_block function deletes RDMALocalBlock base on index field,
but not update the index field. So when next time invoke rdma_delete_block,
it will not work correctly.

If start and cancel migration repeatedly, some RDMALocalBlock not invoke
ibv_dereg_mr to decrease kernel mm_struct vmpin. When vmpin is large than
max locked memory limitation, ibv_reg_mr will failed, and migration can not
start successfully again.

Signed-off-by: Lidong Chen <lidongchen@tencent.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <1525618499-1560-1-git-send-email-lidongchen@tencent.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>

Signed-off-by: Lidong Chen <jemmy858585@gmail.com>
Diffstat (limited to 'util/async.c')
0 files changed, 0 insertions, 0 deletions