RE: [PATCH 1/2] Use sdev_scsi2lun for SCSI parallel drivers

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

 




> -----Original Message-----
> From: linux-scsi-owner@xxxxxxxxxxxxxxx [mailto:linux-scsi-
> owner@xxxxxxxxxxxxxxx] On Behalf Of Douglas Gilbert
> Sent: Friday, 04 July, 2014 2:44 PM
> To: Hannes Reinecke; James Bottomley
> Cc: Christoph Hellwig; linux-scsi@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH 1/2] Use sdev_scsi2lun for SCSI parallel drivers
> 
> On 14-07-04 07:54 AM, Hannes Reinecke wrote:
> > SCSI-2 defines only up to 256 LUNs with a flat namespace.
> 
> My SCSI-2 draft (revision 10b from August 1989) only has
> 3 bit LUNs placed in byte 1 of the command block, in the top
> 3 bits. There are also things called LUNTARs and LUNTRNs
> at the message level.
> 
> 8 bit LUNs do ring a distant bell, perhaps after SCSI-2?
> 
> Doug Gilbert

The hierarchical LUN structures have some limited size
LUN subfields:
* the peripheral device addressing method includes an 8-bit 
  TARGET OR LUN subfield, which specifies an 8-bit LUN at the 
  current level (if the BUS IDENTIFIER field is 0)
* the logical unit addressing method has a 5-bit LUN subfield


---
Rob Elliott    HP Server Storage



--
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