numam-spdk/lib/scsi
Shuhei Matsumoto 19182431c8 scsi: Simplify removing LUN when no connection is for it
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>
2019-05-13 15:38:56 +00:00
..
dev.c lib/scsi: Make spdk_scsi_dev_destruct asynchronous 2019-04-22 18:22:59 +00:00
lun.c scsi: Simplify removing LUN when no connection is for it 2019-05-13 15:38:56 +00:00
Makefile scsi: remove lun_db 2018-01-09 13:56:00 -05:00
port.c scsi: add iSCSI initiator port TransportID 2018-12-05 16:04:06 +00:00
scsi_bdev.c scsi: alloc temporary data buffer with regular calloc 2019-05-01 17:59:34 +00:00
scsi_internal.h lib/scsi: Make spdk_scsi_dev_destruct asynchronous 2019-04-22 18:22:59 +00:00
scsi_rpc.c scsi: Use spdk_json_write_named_* APIs throughout 2019-02-04 07:08:04 +00:00
scsi.c trace: remove short_name 2019-05-02 08:41:56 +00:00
task.c scsi: alloc temporary data buffer with regular calloc 2019-05-01 17:59:34 +00:00