Loading
bdevperf: prevent multiple performance statistics poller registering
Current implementation allows to run bdevperf with --wait-for-rpc and without -z option. As the result several statistics pollers will be registered. Let's add guardian to prevent this. In the case of multiple test running guardian also will be helpful. Signed-off-by:Denis Nagorny <denisn@nvidia.com> Change-Id: I885f9dba6fa324fe4fbaba104d3058bf9f686c19 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9613 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>