+16
−22
+2
−1
Loading
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>