Spdk/lib/init
Aleksey Marchuk 7a7f21b6fe init: Avoid calling RPC methods twice
Some methods are allowed to be run in both
STARTUP and RUNTIME states and current implementation
calls such methods twice. That can be a problem
in some cases, so use the new spdk_rpc_get_method_state_mask
function to skip such methods in RUNTIME state.

Signed-off-by: Aleksey Marchuk <alexeymar@nvidia.com>
Change-Id: I0a109805db428f60072a8c82161805dcde763da7
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14407
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2022-09-15 08:25:18 +00:00
..
json_config.c init: Avoid calling RPC methods twice 2022-09-15 08:25:18 +00:00
Makefile Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
rpc.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
spdk_init.map event: Move json config loading to init 2021-05-26 09:13:34 +00:00
subsystem_rpc.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
subsystem.c Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
subsystem.h Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00