Data Buffer Configuration (In The Case Of 8 Cache Segments) - Fujitsu MAP3147 Scsi Logical Interface Specifications

Scsi logical interface specifications 3.5 inch hard disk drives with internal scsi controller
Table of Contents

Advertisement

Data Buffer Management
INIT
Figure 2.1
The basic functions and operations of the data buffer in a read operation and a write operation are
shown below.
(1)
Read operation
Data read from the disk media are temporarily stored in the data buffer. Then, they are transferred to
the SCSI bus with the timing specified in the MODE SELECT parameter. The basic read operation
procedure is as shown below.
1) When the IDD receives a command, normally, it disconnects from the SCSI bus through
disconnect processing and locates the data block specified by the command where it is stored on
the disk media.
2) When the target data block has been located, the IDD reads the data form the disk media to the
data buffer. At this time, if a recoverable error is detected, the IDD performs error recovery
processing according to the specification in the MODE SELECT parameter or corrects the data
in the data buffer.
3) When the IDD has read the amount of data specified by the buffer full ratio in the MODE
SELECT parameter (see Section 2.1.2) to the data buffer, it performs reconnection processing
with the SCSI bus and begins transferring data to the INIT (SCSI bus) from the data buffer while
continuing to read subsequent data blocks to the data buffer.
4) If the data transfer capacity of the INIT (SCSI bus) is high and the data buffer becomes empty
before completing transfer of the number of data blocks specified by the command, the IDD
performs disconnect processing at that point.
disconnection (the operations in 3) and 4) above) are repeated until all the data blocks specified
in the command have been transferred.
5) If the number of blocks specified in the command to be transferred is larger than the capacity of
a cache segment and if the data transfer rate of the INIT is lower than the data transfer rate of the
disk drive, the empty space in the data buffer disappears from step 3) and the IDD may soon not
be able to read data from the disk media (data overrun). In this case, the IDD relocates the block
that caused the data overrun after waiting one disk revolution, and continues the reading process.
2 - 2
Valid Data
Write
Read

Data buffer configuration (in the case of 8 cache segments)

Segment
Segment 7
Segment 6
Segment 5
Segment 4
Segment 3
Segment 2
Segment 1
Segment 0
Write
Read
Thereafter, reconnection, data transfer and
Disk Media
C141-E167

Advertisement

Table of Contents
loading

Table of Contents