]> Git Repo - qemu.git/commit
migration: update index field when delete or qsort RDMALocalBlock
authorLidong Chen <[email protected]>
Sun, 6 May 2018 14:54:58 +0000 (22:54 +0800)
committerJuan Quintela <[email protected]>
Tue, 15 May 2018 20:13:08 +0000 (22:13 +0200)
commit71cd73061c014d04bc6b54936e675347ebc8d964
treefa913eeca36a8d25e4b203c55aa66ed0312bdbdc
parentedd7080692cb43147352d736cce0fb728787f2b4
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 <[email protected]>
Reviewed-by: Dr. David Alan Gilbert <[email protected]>
Message-Id: <1525618499[email protected]>
Signed-off-by: Juan Quintela <[email protected]>
Signed-off-by: Lidong Chen <[email protected]>
migration/rdma.c
This page took 0.025818 seconds and 4 git commands to generate.