Spdk/test/unit/lib/iscsi/tgt_node.c
Shuhei Matsumoto 50ec73894c iscsi: Support SCSI port removal when PG map is removed
Currently even if PG mapping is removed from iSCSI target,
corresponding SCSI port is not removed. Hence dynamic
reconfiguration of PG to existing iSCSI target is not supported.

This patch supports dynamic SCSI port removal when the
corresponding PG mapping is removed from the existing target.

Some refactoring for SCSI port addition is also done

Change-Id: Ib06bc10743eb088d023f425742e39bb24f1b0df1
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/389056
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-12-07 12:28:02 -05:00
..
.gitignore test: move iSCSI unit tests to test/unit 2017-06-28 13:10:27 -04:00
Makefile test: move iSCSI unit tests to test/unit 2017-06-28 13:10:27 -04:00
tgt_node_ut.c iscsi: Support SCSI port removal when PG map is removed 2017-12-07 12:28:02 -05:00
tgt_node.conf test: move iSCSI unit tests to test/unit 2017-06-28 13:10:27 -04:00