45dddbc891
Previously we decided which LUN format is used by the macro constant SPDK_SCSI_DEV_MAX_LUN. However, as long as we read SAM, the LUN format can be decided per LUN ID. Linux host SCSI driver supports 256 LUNs per SCSI device at the maximum. So we cannot test this fix on any actual system but we apply this fix for the potential future cases. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ifa6a3b66431f5e1eade326348dd99b8b9653408b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9664 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: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
dev.c | ||
lun.c | ||
Makefile | ||
port.c | ||
scsi_bdev.c | ||
scsi_internal.h | ||
scsi_pr.c | ||
scsi_rpc.c | ||
scsi.c | ||
spdk_scsi.map | ||
task.c |