Re: [PATCH 2/5] scsi_scan: Restrict sequential scan to 256 LUNs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 20, 2014 at 01:03:08PM +0200, Hannes Reinecke wrote:
> Sequential scan for more than 256 LUNs is very fragile as
> LUNs might not be numbered sequentially after that point.
> 
> SAM revisions later than SCSI-3 impose a structure on
> LUNs larger than 256, making LUN numbers between 256
> and 16384 illegal.
> SCSI-3, however allows for plain 64-bit numbers with
> no internal structure.
> 
> So restrict sequential LUN scan to 256 LUNs and add a
> new blacklist flag 'BLIST_SCSI3LUN' to scan up to
> max_lun devices.

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>

Do you know any common devices reporting SCSI-2?  I've only really seen 
SCSI-2 and never SBC levels in practical use.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux