User Manual

SCSI Commands Reference Manual, Rev. J 228
www.seagate.com Direct Access Block commands (SPC-5 and SBC-4)
If the IMMED bit is set to one and the synchronize cache operation has not completed, then the SYNC_PROG field in the Caching mode page
(see 5.3.9) defines device server behavior (see table 200).
LOGICAL BLOCK ADDRESS field
See 2.2.3 for the definition of the LOGICAL BLOCK ADDRESS field.
GROUP NUMBER field
The GROUP NUMBER field specifies the group into which attributes associated with the command should be collected. A GROUP NUMBER field
set to zero specifies that any attributes associated with the command shall not be collected into any group.
NUMBER OF BLOCKS field
The NUMBER OF BLOCKS field specifies the number of logical blocks that shall be synchronized, starting with the logical block specified by the
LOGICAL BLOCK ADDRESS field. A NUMBER OF BLOCKS field set to zero specifies that all logical blocks starting with the one specified in the
LOGICAL BLOCK ADDRESS field to the last logical block on the medium shall be synchronized. If the logical block address plus the number of
blocks exceeds the capacity of the medium, the device server shall terminate the command with CHECK CONDITION status with the sense key
set to ILLEGAL REQUEST and the additional sense code set to LOGICAL BLOCK ADDRESS OUT OF RANGE.
A logical block within the range that is not in cache is not considered an error.
Table 200 SYNC_ PROG field description
Code Description
00b
The device server shall not terminate commands due to the synchronize cache operation and shall not provide pollable sense data.
01b
The device server:
a) shall not terminate commands due to the synchronize cache operation; and
b) shall provide pollable sense data with the sense key set to NO SENSE, the additional sense code set to SYNCHRONIZE CACHE
OPERATION IN PROGRESS, and the PROGRESS INDICATION field set to indicate the progress of the synchronize cache operation.
10b
The device server:
a) shall process INQUIRY commands, REPORT LUNS commands, REPORT TARGET PORT GROUPS commands, and REQUEST SENSE
commands;
b) may process commands that do not require resources used for the synchronize cache operation;
c) shall terminate commands that require resources used for the synchronize cache operation with CHECK CONDITION status with
the sense key set to NOT READY, the additional sense code set to LOGICAL UNIT NOT READY, SYNCHRONIZE CACHE OPERATION IN
PROGRESS, and the PROGRESS INDICATION field set to indicate the progress of the synchronize cache operation; and
d) shall provide pollable sense data with the sense key set to NOT READY, the additional sense code set to LOGICAL UNIT NOT
READY, SYNCHRONIZE CACHE OPERATION IN PROGRESS, and the PROGRESS INDICATION field set to indicate the progress of the
synchronize cache operation.
11b
Reserved