beautypg.com

43 synchronize cache command (35h) – Quantum 10K II User Manual

Page 276

background image

SCSI Description

Quantum Atlas 10K II Ultra160/m SCSI Hard Disk Drives

5–209

5.43

SYNCHRONIZE CACHE Command (35h)

The SYNCHRONIZE CACHE command ensures that all logical blocks, within the
specified range in the drive's cache memory, have their most recent data value
recorded on the physical medium. If more recent data for a logical block, within the
specified range, exists in the cache memory than on the physical medium, then the
logical blocks from the cache memory is written to the physical medium. Logical
blocks are not necessarily removed from the cache as a result of the Synchronize
Cache operation.

Bit

Byte

7

6

5

4

3

2

1

0

0

Operation Code (35h)

1

Reserved

Immed

= 0

RelAdr

2 - 5

Logical Block Address

6

Reserved

7 - 8

Number of Blocks

9

Control

Figure 5–103 SYNCHRONIZE CACHE Command Descriptor Block — Data Format

Table 5–98 SYNCHRONIZE CACHE Command — Field Descriptions

Field

Description

Immed

Immediate. Must be 0. The drive returns status after the synchronize cache
operation has been completed.

RelAdr

Relative Address. Must be 0. Relative addressing is not supported.

Logical Block Address

The address of the first logical sector of the range to be operated upon by
this command.

Number of Blocks

Specifies the total number of contiguous logical blocks within the range.
When set to 0, the drive removes all sectors from the given Logical Block
Address on.
When Number of Blocks and Logical Block Address are both 0, the drive
removes all unwritten cache sectors to the medium.
It is not considered an error when no sectors within the specified range are
in the cache memory.