+30
−0
Loading
When shutting down a vm, qemu will disconnect the session connection with vhost_block_controller. The dpdk-vhost-evt thread will handle the disconnection and unregister the memory, it will lock "user_dev->lock". If the vhost_delete_controller rpc is called before the memory unregister is completed, "user_dev->lock" also needs to be locked, so it will wait for the dpdk-vhost-evt thread to release the lock. During the waiting process, the reactor where app_thread is located will be blocked, causing other IO to not be processed. Fixes issue #3468 Change-Id: I262b79c8b7ffa260941171b8058b443bcf827cf4 Signed-off-by:xupeng-mingtu <jingmamour@gmail.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24402 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
GangCao <gang.cao@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Community-CI: Mellanox Build Bot Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>