4579fc9d2c
Creating targets, creating tasks, and then running I/O is the actual ordering of start-up. So adjust ordering of function calls to make easier us to follow. Change the return type of bdevperf_construct_targets_tasks() from int to void, and call bdevperf_test() at the end of bdevperf_construct_targets_tasks(). Then replace bdevperf_test() by bdevperf_construct_targets_tasks(). Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Id1396ff4ba199778300f5ddaf79db5f8f2e0ccb6 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/642 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
bdevperf.c | ||
bdevperf.py | ||
Makefile |