When a target is removed, spdk_scsi_dev_destruct removes its luns, consequently closing bdev descriptors and in vhost case - triggering target hotremove again. This doesn't really have any negative consequences, as the second hotremove just fails silently. But let's cleanup this for sanity. Change-Id: I47c76814696b49905b9fb00667e9529db3f58c12 Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/396575 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: <shuhei.matsumoto.xt@hitachi.com> |
||
---|---|---|
.. | ||
rte_vhost | ||
Makefile | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |