e4e4a96543
Extract bdevperf_target_get_task() from bdevperf_submit_single(). Then inline the contents of bdevperf_prep_task() into bdevperf_submit_single() and remove bdevperf_prep_task(). These two patches simplify a little weird nesting and parameter passing of bdevperf_submit_single(). Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I37f4ca732d6d9479553365cd612b90dec51e2228 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478690 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>