Factor out test finish operation of command line invocation case and RPC invocation case. Then apply the new funciton bdevperf_test_done() to all calls bdevperf_fini() or rpc_perform_tests_cb(). The purpose of this refactoring is as follows: - Consolidating finish operation improves code readability and maintainability, and may enable further improvement in future. - The next patch will consolidate bdevperf_free_targets() from bdevperf_fini() and rpc_perform_tests_cb() into bdevperf_test_done(). This refactoring is a preparation. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I06801541e4c4ed28774debad56d901dbeb5a9193 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/479372 Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
bdevperf.c | ||
bdevperf.py | ||
Makefile |