89bdba564a
As SSDs with namespace management become more prevalant, improve the identify utility to clarify things like the total number of namespaces, and that data is printed out for active namespaces only. While here, change an active namespace check to an assert. The print_namespace() function is only called for active namespaces, so the check and print was a bit confusing since it is never seen with SSDs with inactive namespaces. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ib21772579b94c5bcd1c518adb9d3341f4bf824f6 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/466818 Reviewed-by: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
arbitration | ||
cmb_copy | ||
fio_plugin | ||
hello_world | ||
hotplug | ||
identify | ||
nvme_manage | ||
perf | ||
reserve | ||
Makefile |