12.07.2015 Views

SCSI Primary Commands - 2.pdf

SCSI Primary Commands - 2.pdf

SCSI Primary Commands - 2.pdf

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

18 July 2001 T10/1236-D Revision 208.3.4 Mode parameter block descriptor formats8.3.4.1 General block descriptor formatWhen the LONGLBA bit is set to zero (see 8.3.3), the mode parameter block descriptor format for all device typesexcept direct-access is shown in table 149.Table 149 — General mode parameter block descriptorBitByte7 6 5 4 3 2 1 00 DENSITY CODE1 (MSB)2NUMBER OF BLOCKS3 (LSB)4 Reserved5 (MSB)6BLOCK LENGTH7 (LSB)Block descriptors specify some of the medium characteristics for all or part of a logical unit. Support for blockdescriptors is optional. Each block descriptor contains a DENSITY CODE field, a NUMBER OF BLOCKS field, and aBLOCK LENGTH field. Block descriptor values are always current (i.e., saving is not supported). A unit attentioncondition (see 7.6 and SAM-2) shall be generated when any block descriptor values are changed.The DENSITY CODE field is unique for each device type. Refer to the mode parameters subclause of the specificdevice type command standard (see 3.1.12) for definition of this field. Some device types reserve all or part of thisfield.The NUMBER OF BLOCKS field specifies the number of logical blocks on the medium to which the DENSITY CODE andBLOCK LENGTH FIELDS apply. A value of zero indicates that all of the remaining logical blocks of the logical unit shallhave the medium characteristics specified.NOTES45 There may be implicit association between parameters defined in the pages and block descriptors. In thiscase, the target may change parameters not explicitly sent with the MODE SELECT command. A subsequentMODE SENSE command may be used to detect these changes.46 The number of remaining logical blocks may be unknown for some device types.The BLOCK LENGTH field specifies the length in bytes of each logical block described by the block descriptor. Forsequential-access devices, a block length of zero indicates that the logical block size written to the medium isspecified by the transfer length field in the CDB (see SSC).dpANS <strong>SCSI</strong> <strong>Primary</strong> <strong>Commands</strong> - 2 (SPC-2) 191

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!