+60
−32
Loading
Kernel `ublk_drv` driver can support up to 64 block devices by default, we can read this parameter when starting ublk target, then we can add this check in SPDK and use it as number of control ring entries, because for each ublk device, the control command is executed one by one, then we don't need to worry about no sqe case for ctrl uring. Change-Id: Id9334c99abac3424192a769adc8568c4b6827049 Signed-off-by:Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/18071 Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>