Loading
bdevperf: Move g_target_count check into bdevperf_test()
Subsequent patches will make bdevperf_construct_targets() asynchronous and call bdevperf_test() as its callback. Moving g_target_count check into bdevperf_test() will make the change easier. As a result of this move, rpc_perform_test() is simplified a little. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I308ab472a0021278af1a1f5aa65268126a60673f Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/478760 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>