Loading
accel_perf: assign task->worker when building tasks_pool
Previously we would only assign the worker in _get_task(). But future patches will use _get_task() for each I/O, not just during startup. Also increment the current_queue_depth during startup only, rather than every time _get_task() is called. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I2713591d36b8353eaab8119ee230261f40857019 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8449 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Ziye Yang <ziye.yang@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Community-CI: Mellanox Build Bot