+7
−9
Loading
Specify a cpumask that includes all of the cores specified by the user for the ublk coremask. With static scheduler this will still always put only one spdk_thread on each core. But for dynamic scheduler it allows spdk_threads to go on any core in the core mask. Note this also now matches how nvmf assigns its spdk_threads. While here, refactor the loop a bit to avoid unnecessary indentation. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I662a6f466af02f7535fac8ad318d7ce3eef724de Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17871 Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot