760ecb0a6f
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> |
||
---|---|---|
.. | ||
arbitration | ||
cmb_copy | ||
fio_plugin | ||
hello_world | ||
hotplug | ||
identify | ||
nvme_manage | ||
perf | ||
reserve | ||
Makefile |