Shuhei Matsumoto f61d81e47c scsi: Add spdk_scsi_dev_get_first/next_lun() to traverse all LUNs
Add two public APIs spdk_scsi_dev_get_first_lun() and
spdk_scsi_dev_get_next_lun() to remove the dependency on the macro
constant SPDK_SCSI_DEV_MAX_LUN from lib/iscsi and lib/vhost.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I6546697f823fe9f4fa34e1161f5c7fa912dd2d59
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9608
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: GangCao <gang.cao@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2021-10-11 10:08:22 +00:00
..
2019-03-15 19:32:55 +00:00
2020-09-15 07:12:44 +00:00
2021-03-30 11:45:50 +00:00
2021-03-30 11:45:50 +00:00
2021-10-07 09:25:48 +00:00
2019-05-15 18:54:27 +00:00
2017-07-12 18:12:52 -04:00
2021-05-26 09:13:34 +00:00
2019-06-17 14:09:03 +00:00
2021-03-30 11:45:50 +00:00
2020-03-19 08:50:45 +00:00
2020-11-19 09:53:21 +00:00
2019-11-06 15:19:48 +00:00
2019-05-30 21:42:36 +00:00
2021-06-04 22:46:40 +00:00
2018-12-06 22:25:09 +00:00
2021-07-23 10:34:01 +00:00
2020-02-04 16:50:25 +00:00
2021-05-17 11:29:52 +00:00