numam-spdk/examples/nvme
Jim Harris 89bdba564a nvme/identify: clarify total and active namespaces
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>
2019-09-09 01:30:51 +00:00
..
arbitration examples/nvme/arbitration: only do the arbitration get/set_features for supported controllers 2019-08-02 00:10:10 +00:00
cmb_copy build: fix duplicate spdk.common.mk includes 2019-05-22 14:51:01 +00:00
fio_plugin nvme/fio_plugin: optimize metadata buffer usage 2019-07-15 03:43:45 +00:00
hello_world nvme/hello_world: don't print message for inactive namespaces 2019-08-30 03:01:01 +00:00
hotplug build: fix duplicate spdk.common.mk includes 2019-05-22 14:51:01 +00:00
identify nvme/identify: clarify total and active namespaces 2019-09-09 01:30:51 +00:00
nvme_manage Opal: Add support for erase locking range 2019-08-20 20:38:54 +00:00
perf Revert "example/perf: remove libaio from perf example" 2019-08-30 03:01:01 +00:00
reserve build: fix duplicate spdk.common.mk includes 2019-05-22 14:51:01 +00:00
Makefile cmb_copy: An example app that uses NVMe CMBs 2018-02-14 12:36:01 -05:00