This patch and the next patch will simplify the nesting of task submission. Factor out the operation to get free task from io_target into a helper function bdevperf_target_get_task(). Use bdevperf_target_get_task() in bdevperf_submit_single() and reset_target(). Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I4cb147a5a6c84cc2b0e517dc35a106d37affaa10 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478689 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Alexey Marchuk <alexeymar@mellanox.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Seth Howell <seth.howell@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
bdevperf.c | ||
bdevperf.py | ||
Makefile |