If we are already in the desired state, just call the callback directly from the subsystem_state_change function. That way we save a lot of message passing. Signed-off-by: Seth Howell <seth.howell@intel.com> Change-Id: I6cf8563524610d9125d53266e3c0e179e064bf63 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3760 Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.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 |