Loading
bdevperf: allocate lcore threads when creating jobs
Previously, lcore threads were allocated when creating job configs, which is done only once at startup, but are freed when the test is finished in bdevperf_test_done(), which would lead to a segfault when bdevperf was started with the `-z` option and the `perform_tests` RPC was sent more than once. Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I627c97d505cda6faf530117c0daeea0fe7254094 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20270 Reviewed-by:
Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>