Re: [PATCH RFC] use struct scsi_lun in generic code

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

 



Patrick Mansfield wrote:

<snip>

> Note that current SAM (sam4r02) sort of allows for different sized LUNs,
> it says "A logical unit number shall contain 64 bits or 16 bits, with the
> size being defined by the SCSI transport protocol.  For SCSI transport
> protocols that define 16-bit logical unit numbers, the two bytes shall be
> formatted as described for the FIRST LEVEL ADDRESSING field (see table 5
> in 4.9.5)."

The "or 16 bits" was added to SAM after it was pointed
out that a new standard was recently approved that mandated
16 bit luns. That is SBP-3 (i.e. IEEE 1394 transport). All
other "current" transports shown in sam4r03.pdf, Annex A
are 64 bits (with a note on "SPI-5").

Aside: Annex A shows SPI-5 (Ultra 640) as the "current"
SPI standard. This is an example of where standards (or
drafts) diverge from reality :-)

Doug Gilbert
-
: 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