Spdk/lib
Jiewei Ke 012bd3b942 lib/nvmf: Notify ANA change when namespace change happens
When ANA is enabled, if a new namespace is hot-added to the subsystem on
the target side, the Linux host will expect to receive an ANA change
notification after the namespace change one. Without the knowledge of
the namespace's ANA state, the host will not register the associated
block device, so users cannot see the nvme device.

In this patch, ANA change is notified right after namespace change, so
host will get ANA log, update the namespace's ANA state and then
register the block device if it is alive.

Signed-off-by: Jiewei Ke <jiewei@smartx.com>
Change-Id: I2faf61d344eb6de7efb2fde3cb1013cf0efd3c2e
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5097
Community-CI: Broadcom CI
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2020-11-16 12:22:50 +00:00
..
accel accel: Move non-engine specific batch to the accel_fw layer 2020-10-22 22:43:28 +00:00
bdev bdev: fix md_buf split issue 2020-11-05 09:38:11 +00:00
blob lib/blob: extent_page shall never occupy md page 0 2020-10-16 08:15:16 +00:00
blobfs lib/blobfs: remove legacy config support 2020-10-20 02:42:16 +00:00
conf lib/conf: check pointer return value when use calloc 2020-11-11 01:02:31 +00:00
env_dpdk env_dpdk: add rte_rcu library dependency 2020-10-29 10:39:05 +00:00
env_ocf lib/thead: print error log when create mempool or ring failed 2020-11-05 09:41:06 +00:00
event lib/thead: print error log when create mempool or ring failed 2020-11-05 09:41:06 +00:00
ftl log: remove internal log.h header 2020-10-15 08:23:39 +00:00
idxd lib/idxd: small code cleanup 2020-10-22 22:43:28 +00:00
ioat log: remove internal log.h header 2020-10-15 08:23:39 +00:00
iscsi iscsi: fix the warning issue in tgt_node.c reported by vagrant. 2020-11-13 14:05:05 +00:00
json json: add spdk_json_free_object() 2020-10-19 10:02:10 +00:00
jsonrpc log: remove internal log.h header 2020-10-15 08:23:39 +00:00
log log: remove internal log.h header 2020-10-15 08:23:39 +00:00
lvol log: remove internal log.h header 2020-10-15 08:23:39 +00:00
nbd lib/nbd: fix minor grammar issue in comments/prints 2020-11-02 11:16:48 +00:00
net log: remove internal log.h header 2020-10-15 08:23:39 +00:00
notify log: remove internal log.h header 2020-10-15 08:23:39 +00:00
nvme nvme: add nqn prefix to hostnqn 2020-11-06 08:11:54 +00:00
nvmf lib/nvmf: Notify ANA change when namespace change happens 2020-11-16 12:22:50 +00:00
rdma log: remove internal log.h header 2020-10-15 08:23:39 +00:00
reduce log: remove internal log.h header 2020-10-15 08:23:39 +00:00
rocksdb rocksdb/env_spdk: Fix unused warning. 2020-10-28 12:49:10 +00:00
rpc RPC: update the error message for current RPC state 2020-07-31 08:21:37 +00:00
scsi log: remove internal log.h header 2020-10-15 08:23:39 +00:00
sock log: remove internal log.h header 2020-10-15 08:23:39 +00:00
thread lib/thread: return NULL when id is invalid before search form tailq 2020-11-13 14:10:37 +00:00
trace log: remove internal log.h header 2020-10-15 08:23:39 +00:00
ut_mock mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
util interrupt: new fd_group in lib/util 2020-10-23 16:23:48 +00:00
vhost vhost-blk: apply interrupt 2020-11-02 11:22:40 +00:00
virtio vhost: deprecate internal vhost library support 2020-10-20 02:42:16 +00:00
vmd log: remove internal log.h header 2020-10-15 08:23:39 +00:00
Makefile vhost: deprecate internal vhost library support 2020-10-20 02:42:16 +00:00