1b8cbebf1c
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> |
||
---|---|---|
.. | ||
bdev | ||
blob | ||
ioat | ||
nvme | ||
sock | ||
Makefile |