numam-spdk/examples/nvme
Jim Harris 760ecb0a6f nvme/hello_world: don't print message for inactive namespaces
Some SSDs have inactive namespaces under normal circumstances,
especially those that support namespace management.  Printing
error messages for these can be confusing to users.  So just
remove that log message.

This removes the only usage of cdata in register_ns().  But
that cdata assignment was prefaced with a useful comment for
readers of this example code.  So move that comment to
attach_cb() and restructure the code there a little bit.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I844e860ea0856d73ca535b6fcbd14279b96da4f1

Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/466797
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Tom Nabarro <tom.nabarro@intel.com>
2019-08-30 03:01:01 +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 examples/nvme/identify: only print arbitration information if the drive can support WRR arbitration 2019-07-29 17:52:45 +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