d81721df65
In the spdk_vhost_scsi_dev_remove() it takes a period of time to remove all the tgts but before it is completed the scsi dev has been freed. So don't free the scsi dev until all the tgts have been removed. Fix Github issue #932 Change-Id: Idf9293c70b8d5f82091db6dd5e018a5cb40eea36 Signed-off-by: JinYu <jin.yu@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/464654 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: Karol Latecki <karol.latecki@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
rte_vhost_compat.c | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_nvme.c | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |