+374
−93
Loading
The patch set is largely based on Jaylyn Ren's https://review.spdk.io/gerrit/c/spdk/spdk/+/16067 and https://review.spdk.io/gerrit/c/spdk/spdk/+/16068 patches to enable multiple threads support for vhost-blk, here I enable multiple theads based on vhost session, this will make the code more readable and easy to maintain. For vhost-blk device using single core, it's same as before, if the device is created with multiple core masks, we will start one thread per core for the device, this is helpful when no competition on these cores, >= 2 IO queues per thread is recommended in practice. SPDK already has the CI test(lvol) case to create vhost-blk device with the same core mask as vhost application, then for this case, multiple threads are created for this vhost-blk device. Signed-off-by:Jaylyn Ren <Jaylyn.Ren@arm.com> Signed-off-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/22616 (master) (cherry picked from commit 1c05f3fb) Change-Id: I7cff622722824dfad780359a7af259d359a20f4b Signed-off-by:
Marek Chomnicki <marek.chomnicki@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23320 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com>