19182431c8
Both for vhost SCSI and iSCSI target, IO channel is allocated to LUN before using it. Hence LUN is not used by anyone if IO channel is not allocated to it. So we can call scsi_lun_remove in this case. Change-Id: I6881a5e075ed6ef11802e1b166dfb3f35531d100 Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/453968 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> |
||
---|---|---|
.. | ||
dev.c | ||
lun.c | ||
Makefile | ||
port.c | ||
scsi_bdev.c | ||
scsi_internal.h | ||
scsi_rpc.c | ||
scsi.c | ||
task.c |