Loading
subsystem/nvmf: move target creation out of conf.c
This is a step to prepare for deletion of conf.c. NVMe-oF target application always creates the default 'nvmf_tgt'. This was done as part of legacy configuration parsing, but does not belong there at all. Acceptor poll rate and max subsystems are set via RPC before this step, or via legacy config. Since this patch creates target before parsing the config, options defined there no longer change the target. Parsing of legacy config will be removed further down the series, so no need to refactor to keep the original functionality. Signed-off-by:Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: I6f87df0ad3f03b72d6f916de50e5eab6d29dafa9 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4663 Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>