numam-spdk/lib/scsi
Shuhei Matsumoto 3b3c6002c9 iscsi: Add LUN to an existing target (not runtime)
Removing an LUN from an existing iSCSI target is possible by
removing the corresponding BDEV. However adding an LUN to an
existing iSCSI target is not possible yet.

Add a new function spdk_iscsi_tgt_node_add_lun() and related
functions first toward supporting this function.

JSON-RPC for this operation will be submitted an another patch.

Informing the newly added LUN to the initiator is not included
in this patch. Hence this operation is possible only for any
inactive target.

Change-Id: I3a28f4d75a17126e49c9d12ce64c3ad68f231840
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/385180
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-01-17 12:41:29 -05:00
..
dev.c iscsi: Add LUN to an existing target (not runtime) 2018-01-17 12:41:29 -05:00
lun.c scsi: fix LUN removal/hotremoval path 2018-01-16 19:14:00 -05:00
Makefile scsi: remove lun_db 2018-01-09 13:56:00 -05:00
port.c scsi: remove port from scsi_dev dynamically 2017-10-12 15:46:14 -04:00
scsi_bdev.c scsi: pass only task to SCSI exec functions 2018-01-05 13:49:05 -05:00
scsi_internal.h scsi: fix LUN removal/hotremoval path 2018-01-16 19:14:00 -05:00
scsi_rpc.c scsi: remove lun_db 2018-01-09 13:56:00 -05:00
scsi.c log: rename SPDK_TRACE_* to SPDK_LOG_* 2017-12-07 12:23:19 -05:00
task.c scsi, iscsi: move task->parent to iSCSI task 2018-01-05 00:01:37 -05:00