numam-spdk/test/iscsi_tgt
Shuhei Matsumoto e44731d659 scsi: Remove the claimed flag from LUN
Struct spdk_scsi_lun has the claimed flag as a member.

However the claimed flag is no longer required.

Moreover the claimed flag itself is not used but
spdk_scsi_lun_claim() and _unclaim() functions are used in the
UT code by hard to understand manner. Moving the logic into
spdk_scsi_lun_construct() and _destruct() in the UT code will
be more natural.

Hence remove the claimed flag from LUN and do a little refactoring
in the UT code.

Change-Id: Ica9680b49bbdb5be7c5c4161210fb3a6dcb35229
Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-on: https://review.gerrithub.io/390566
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
2017-12-07 12:30:19 -05:00
..
calsoft iscsi: Replace "ALL" by "ANY" for access control 2017-12-04 11:28:52 -05:00
ext4test iscsi: Replace "ALL" by "ANY" for access control 2017-12-04 11:28:52 -05:00
filesystem iscsi: Replace "ALL" by "ANY" for access control 2017-12-04 11:28:52 -05:00
fio iscsi: Replace "ALL" by "ANY" for access control 2017-12-04 11:28:52 -05:00
idle_migration iscsi: Replace "ALL" by "ANY" for access control 2017-12-04 11:28:52 -05:00
ip_migration test/iscsi/ip_migration: remove [Rpc] conf section 2017-12-05 13:16:57 -05:00
lvol iscsi: Replace "ALL" by "ANY" for access control 2017-12-04 11:28:52 -05:00
nvme_remote test/iscsi_tgt: increase memory for nvmf_tgt app 2017-12-04 18:47:25 -05:00
pmem bdev/pmem: require name in construct_pmem_bdev RPC 2017-12-04 18:51:14 -05:00
rbd iscsi: Replace "ALL" by "ANY" for access control 2017-12-04 11:28:52 -05:00
reset iscsi: Replace "ALL" by "ANY" for access control 2017-12-04 11:28:52 -05:00
rpc_config scsi: Remove the claimed flag from LUN 2017-12-07 12:30:19 -05:00
common.sh test/iscsi_tgt: use stub application 2017-05-25 16:55:03 -04:00
iscsi_tgt.sh test: Add iscsi tgt hotplug test in bdev layer. 2017-11-17 11:25:39 -05:00
test_plan.md test/iscsi: Add iscsi_tgt with NVML backend test 2017-10-19 13:00:27 -04:00