numam-spdk/lib
Shuhei Matsumoto 5b27db6268 lib/nvmf: Check if I/O qpair is on the same listener as admin qpair
We will have ANA state per listener and per subsystem. On the other hand,
NVMe specification defines ANA state per controller.

However, it is possible that I/O qpair and admin qpair are different
listeners on a single controller.

Let's check if I/O qpair is on the same listener as admin qpair if
ANA reporting is enabled.

The case that I/O qpair is on a different listener from admin qpair
is not usual and so the purpose of this check is just to guard SPDK
from any unexpected behavior.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Idb8d255de7f998e45a59a120c2ed5803258873f4
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4026
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2020-09-04 08:14:18 +00:00
..
accel lib/accel: change task alloc from global mempool->per chan list 2020-08-21 08:25:04 +00:00
bdev bdev: free g_bdev_examine_allowlist before the app exit 2020-08-25 08:02:43 +00:00
blob blob: move bs_release_cluster 2020-09-01 07:50:33 +00:00
blobfs Blobfs: add an assert for the memory allocation 2020-09-02 07:38:23 +00:00
conf lib/conf: allow multiple sections with same name 2020-07-22 12:24:08 +00:00
env_dpdk env: fix pci driver registration 2020-08-27 08:36:43 +00:00
env_ocf lib/ocf_env: fix incorrect value for free memory estimate 2020-04-29 06:42:33 +00:00
event event: disable cpumask check 2020-08-27 08:49:18 +00:00
ftl lib/ftl: Return SPDK_POLLER_BUSY flag only when writes were submitted 2020-08-11 09:49:51 +00:00
idxd accel: add API to cancel a batch sequence 2020-07-27 22:43:40 +00:00
ioat lib/ioat: Update the major SO version for libspdk_ioat.so 2020-07-24 07:25:47 +00:00
iscsi lib/iscsi: Remove a DEBUG_LOG which shows error when target is not found 2020-08-31 15:22:44 +00:00
json lib: json-nbd remove spdk prefix from static functions. 2020-05-21 09:19:00 +00:00
jsonrpc lib: add checks for return code of pthread_spin_init 2020-07-23 07:25:21 +00:00
log lib/log: add RPC to toggle timestamps 2020-08-31 07:46:36 +00:00
log_rpc lib: json-nbd remove spdk prefix from static functions. 2020-05-21 09:19:00 +00:00
lvol all: Fix warnings found by gcc 9.3.0 and 9.3.1 2020-06-02 09:51:57 +00:00
nbd nbd: Add the O_DIRECT flag when opening the file. 2020-08-06 22:43:20 +00:00
net lib: net, notify, nvme, rocksdb remove spdk_ prefix. 2020-05-21 09:19:00 +00:00
notify lib: net, notify, nvme, rocksdb remove spdk_ prefix. 2020-05-21 09:19:00 +00:00
nvme nvme/cuse: fix nblocks and block_size in rw path 2020-09-04 08:13:56 +00:00
nvmf lib/nvmf: Check if I/O qpair is on the same listener as admin qpair 2020-09-04 08:14:18 +00:00
rdma rdma: Add new API spdk_rdma_qp_accept 2020-06-18 07:28:04 +00:00
reduce mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +00:00
rocksdb rocksdb: Update rocksdb code to work with spdk/rocksdb branch spdk-v6.10.2 2020-08-10 11:27:32 +00:00
rpc RPC: update the error message for current RPC state 2020-07-31 08:21:37 +00:00
rte_vhost read_fd_message: distinguish prints of log message 2020-05-25 09:08:00 +00:00
scsi pollers: Fix pollers to return correct busy status 2020-07-07 07:29:31 +00:00
sock lib/sock: Fix the coredump issue in sock_map_realese 2020-09-01 07:51:27 +00:00
thread thread: add info logs 2020-06-12 15:40:31 +00:00
trace mk/lib: add a check that major and minor version is set for libs. 2020-05-21 09:19:00 +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 cpuset: fix parse_mask 2020-08-27 08:34:07 +00:00
vhost vhost: restart session after KICK socket message 2020-09-04 08:13:48 +00:00
virtio virtio: use correct number of entries field 2020-09-04 08:13:48 +00:00
vmd env_dpdk/pci: remove device detach callback 2020-07-23 20:48:47 +00:00
Makefile rdma: Intorduce RDMA providers 2020-05-20 12:03:50 +00:00