+12
−0
Loading
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>