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.

T10/1236-D Revision 20 18 July 2001d) If the number of blocks is set to FFFFFFFFFFFFFFFFh, the device shall be set to its maximum capacity. Ifthe block size has not changed, the device shall not become format corrupted. This capacity setting shallbe retained through reset events or power cycles.NOTE 48 There may be implicit association between parameters defined in the pages and block descriptor. Fordirect-access devices, the block length affects the optimum values (i.e., the values that achieves the best performance)for the sectors per track, bytes per physical sector, track skew factor, and cylinder skew factor fields in theformat parameters page. In this case, the target may change parameters not explicitly sent with the MODESELECT command. A subsequent MODE SENSE command may be used to detect these changes.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 the definition of this field. Some device types reserve all or part ofthis field.The BLOCK LENGTH field specifies the length in bytes of each logical block described by the block descriptor.8.3.5 Mode page format and page codesThe mode page format is defined in table 152.Table 152 — Mode page formatBitByte7 6 5 4 3 2 1 00 PS Reserved PAGE CODE1 PAGE LENGTH (n-1)2nMode parametersEach mode page contains a PAGE CODE field, a PAGE LENGTH field, and a set of mode parameters. The page codesare defined in this subclause and in the mode parameter subclauses in the command standard (see 3.1.12) for thespecific device type.When using the MODE SENSE command, a parameters savable (PS) bit of one indicates that the mode page maybe saved by the target in a nonvolatile, vendor specific location. A PS bit of zero indicates that the supportedparameters cannot be saved. When using the MODE SELECT command, the PS bit is reserved.The PAGE CODE field identifies the format and parameters defined for that mode page. Some page codes aredefined as applying to all device types and other page codes are defined for the specific device type. The pagecodes that apply to a specific device type are defined in the command standard (see 3.1.12) for that device type.When using the MODE SENSE command, if page code 00h (vendor specific page) is implemented, the deviceserver shall return that page last in response to a request to return all pages (page code 3Fh). When using theMODE SELECT command, this page should be sent last.The PAGE LENGTH field specifies the length in bytes of the mode parameters that follow. If the application clientdoes not set this value to the value that is returned for the page by the MODE SENSE command, the device servershall terminate the command with CHECK CONDITION status. The sense key shall be set to ILLEGAL REQUESTwith the additional sense code set to INVALID FIELD IN PARAMETER LIST. The target is permitted to implementa mode page that is less than the full page length defined in this standard, provided no field is truncated and thePAGE LENGTH field correctly specifies the actual length implemented.194 dpANS <strong>SCSI</strong> <strong>Primary</strong> <strong>Commands</strong> - 2 (SPC-2)

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

Saved successfully!

Ooh no, something went wrong!