+5
−27
Loading
spdk_vhost_init() relies on having a thread on each reactor. Every vhost controller could be created on the same core and even passing --cpumask when creating would not affect it. This has happened before, see patch (7cc83b62). This patch modifies the g_vhost_core_mask to match the actual cores in use. Signed-off-by:Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I42a07c5f99690bfa4ecd2a5b9b7b04d1aa7d2800 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6188 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>