Spdk/examples/nvme
Ziye Yang 1b8cbebf1c nvme/perf: fix the core dump issue.
If spdk_nvme_probe fails, there will be no controller,
and we jump to clean up. And the thread is not created,
so we need to judge the value of thread. if it is not zero,
we will do the pthread_cancel. Otherwise, we do not
need to call that. If we call that, it will have coredump.

btw: we also fix an small issue of cleanup.

Change-Id: Iee854f6ef42ef6d4a3d3f63d57740375e293a3ba
Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-on: https://review.gerrithub.io/c/444147
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-02-12 18:40:50 +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: Use the new DIF library in FIO plugin 2019-02-11 12:05:13 +00:00
hello_world nvme:replacing spdk_dma_malloc with spdk_z/malloc 2018-08-31 17:42:29 +00:00
hotplug example/nvme: Improve error check of input parsing by spdk_strtol 2019-01-29 17:39:18 +00:00
identify identify: Print out information about controller memory buffer support 2019-02-06 16:01:56 +00:00
nvme_manage example/nvme: Improve error check of input parsing by spdk_strtol 2019-01-29 17:39:18 +00:00
perf nvme/perf: fix the core dump issue. 2019-02-12 18:40:50 +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