Use two new public APIs spdk_scsi_dev_get_first_lun() and spdk_scsi_dev_get_next_lun() to manage iSCSI LUNs by linked list and to traverse all LUNs of the SCSI device. By these changes, we can remove the dependency on the macro constant SPDK_SCSI_DEV_MAX_LUN from lib/iscsi. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I3237e7f887dd761d6812ed4313f87b6e7884ea29 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9610 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
conn.c | ||
conn.h | ||
init_grp.c | ||
init_grp.h | ||
iscsi_rpc.c | ||
iscsi_subsystem.c | ||
iscsi.c | ||
iscsi.h | ||
Makefile | ||
md5.c | ||
md5.h | ||
param.c | ||
param.h | ||
portal_grp.c | ||
portal_grp.h | ||
spdk_iscsi.map | ||
task.c | ||
task.h | ||
tgt_node.c | ||
tgt_node.h |