Spdk/examples/nvme
Chunyang Hui aa09ce098d nvme_manage: Fix a bug of uninitialized namespace
Uninitialized namespace struct will be all zeros.
Some drive might have multiple namespaces but not initialized.
nvme_manage will get to segment fault when this happens. This
patch is to fix this.

Change-Id: I8ea5bf3d7c29cf876fbea3d1bee22b95748d3b8a
Signed-off-by: Chunyang Hui <chunyang.hui@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/447414
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-03-08 20:59:51 +00:00
..
arbitration example/nvme: Improve error check of input parsing by spdk_strtol 2019-01-29 17:39:18 +00:00
cmb_copy example/nvme: Improve error check of input parsing by spdk_strtol 2019-01-29 17:39:18 +00:00
fio_plugin fio_plugin: fix the wrong usage of queue pair data structure in fio thread 2019-03-08 04:34:22 +00:00
hello_world nvme:replacing spdk_dma_malloc with spdk_z/malloc 2018-08-31 17:42:29 +00:00
hotplug nvme/hotplug: add ctrlr a timeout callback in hotplug example 2019-02-25 23:12:29 +00:00
identify nvme/identify: add rpmb feature detection 2019-02-25 22:36:00 +00:00
nvme_manage nvme_manage: Fix a bug of uninitialized namespace 2019-03-08 20:59:51 +00:00
perf dif: Add seed value for guard to avoid 0 in case of all zero data. 2019-02-22 17:52:51 +00:00
reserve log: remove "trace" from public API 2018-12-03 19:50:15 +00:00
Makefile cmb_copy: An example app that uses NVMe CMBs 2018-02-14 12:36:01 -05:00