Spdk/lib
Jim Harris 9633d482a7 nvmf: emit add_listeners RPCs after add_ns RPCs
When emitting the JSON-RPC text for saving the
current configuration, add the listeners last.

This is usually the preferred order when
configuring a new subsystem - it is better to have
all of the namespaces and hosts added to the subsystem
before adding the listener to allow hosts to connect
to it.  We support namespace hotplug but there's
no need to unnecessarily generate hotplug events
if we can avoid it.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I79e8a0a496eeb128efbb7e314ac835b6110d3cc8
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14586
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2022-09-21 08:50:08 +00:00
..
accel accel: Refer to plugins as 'modules' instead of 'engines' 2022-09-21 08:17:48 +00:00
bdev bdev: Add functions to [hole,data] seek 2022-09-15 08:23:56 +00:00
blob blob: Add functions to find [un]allocated io_unit 2022-09-15 08:23:56 +00:00
blobfs blob: Optimize copy-on-write flow for clusters backed by zeroes device 2022-09-05 12:49:46 +00:00
conf Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
dma check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
env_dpdk env_dpdk/pci: Refactor PCI bus scan 2022-09-20 10:19:22 +00:00
env_ocf check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
event event: pass "const struct option*" to spdk_app_parse_args() 2022-09-13 10:48:58 +00:00
ftl ftl: Change metadata to use structure packing 2022-09-20 19:24:26 +00:00
idxd lib/idxd: add some flag overrides when doing PMEM writes 2022-08-18 18:47:02 +00:00
init init: Avoid calling RPC methods twice 2022-09-15 08:25:18 +00:00
ioat check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
iscsi print better errors when creating mempools from secondary process 2022-08-29 11:41:32 +00:00
json json: fix parsing json problems when json config is invalid. 2022-09-02 07:32:21 +00:00
jsonrpc check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
log Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
lvol blobstore: implement spdk_bs_grow and bdev_lvol_grow_lvstore RPC 2022-06-28 17:55:43 +00:00
nbd lib/nbd:export bdev flush and trim ability 2022-09-16 13:32:13 +00:00
notify Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
nvme test/nvme_tcp: Correct the psh_len in nvme_tcp unittest 2022-09-20 20:29:40 +00:00
nvmf nvmf: emit add_listeners RPCs after add_ns RPCs 2022-09-21 08:50:08 +00:00
rdma rdma: Maintain per device PD which is persistent across reconnect 2022-08-12 08:59:43 +00:00
reduce check_format: For C files only, fix return type breaks 2022-06-27 09:33:48 +00:00
rocksdb Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
rpc rpc: Add API to get method state mask 2022-09-15 08:25:18 +00:00
scsi lib/scsi: use bkdr hash to avoid naa identifier collision 2022-08-03 07:43:10 +00:00
sock sock: make impl_name const char * in all functions 2022-09-05 12:49:28 +00:00
thread thread: defer unregistration when for_each ops exist 2022-08-09 08:27:15 +00:00
trace trace: allocate shm filesize based on number of cores used 2022-09-20 10:17:45 +00:00
trace_parser trace: allocate shm filesize based on number of cores used 2022-09-20 10:17:45 +00:00
ut_mock Replace most BSD 3-clause license text with SPDX identifier. 2022-06-09 07:35:12 +00:00
util configure/misc: make ISA-L a hard dependency 2022-09-20 10:18:54 +00:00
vfio_user lib/vfio_user: change the calculation of bar_addr 2022-06-15 08:10:32 +00:00
vhost vhost: register memtable once if unchanged 2022-09-19 13:12:24 +00:00
virtio virtio: assert and ERRLOG for virtio-user dynamic mem allocations 2022-09-09 13:06:15 +00:00
vmd lib/vmd: return -1 if NVMe driver is not found 2022-09-05 12:50:06 +00:00
Makefile ftl: core structure 2022-07-11 07:23:58 +00:00