Add an new RPC, nvmf_subsystem_listener_set_ana_state. Find the specified subsystem listener, and then set the ANA state of the listener by calling nvmf_subsystem_listener_set_ana_state(). By adding a string and an enum to the existing context structure, nvmf_rpc_listener_ctx, and adding an operation type to the existng enum, nvmf_rpc_listen_op, reuse the existing code and data as much as possible. Besides, insert line break into a few long lines and fix wrong error log. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I6fb2dfbb1f9c5f56848eba21d2a733fbed802614 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4080 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
ctrlr_bdev.c | ||
ctrlr_discovery.c | ||
ctrlr.c | ||
fc_ls.c | ||
fc.c | ||
Makefile | ||
nvmf_fc.h | ||
nvmf_internal.h | ||
nvmf_rpc.c | ||
nvmf.c | ||
rdma.c | ||
spdk_nvmf.map | ||
subsystem.c | ||
tcp.c | ||
transport.c | ||
transport.h |