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> |
||
---|---|---|
.. | ||
json_config.c | ||
Makefile | ||
rpc.c | ||
spdk_init.map | ||
subsystem_rpc.c | ||
subsystem.c | ||
subsystem.h |