Command Queuing Function - Fujitsu MAU3147RC SERIES Technical Manual

Serial attached scsi interface specifications
Hide thumbs Also See for MAU3147RC SERIES:
Table of Contents

Advertisement

Command Processing

2.3 Command Queuing Function

The IDD is equipped with the command queuing function. Through command
queuing, the IDD can receive multiple commands in advance and can execute
them.
Through the tagged queuing function, the IDD can receive multiple commands
from the same INIT or from different INITs until the command queue is full. The
number of commands that can be received by the IDD is 128 per IDD, without
relation to the INIT. When the IDD receives a new command, if the command
queue is full, the new command is responded to with the TASK SET FULL
status.
The IDD controls the command queue, but it is possible for the INIT to delete
commands from the queue by adding a command.
When the IDD adds a command to the queue, an INIT can specify the TASK
ATTRIBUTE of the CMND frame to give the IDD instructions about the
execution order of commands or the command to be executed next. There are
three TASK ATTRIBUTEs: ORDERED, HEAD OF QUEUE, and SIMPLE.
When ORDERED is specified, the IDD executes commands in the order they are
received. All the commands received with SIMPLE specified before a command
received with ORDERED specified are, regardless of the INIT, executed before
the command received with ORDERED specified. All the commands received
with SIMPLE specified after a command received with ORDERED specified are
executed after the command received with ORDERED specified.
Commands received with a HEAD OF QUEUE are registered at the top of the
queue for waiting execution. The IDD does not interrupt the current command
execution and executes them after completion of current command execution.
When commands with the HEAD OF QUEUE are received continuously, the IDD
first executes the command which was received last.
If "0000" or "0001" is specified by the Queue algorithm modifier in the control
mode page, the IDD performs reordering processing of commands with respect to
commands issued together with the SIMPLE. Reordering processing is performed
with the purpose of reducing the total processing time in command processing.
Conditions for Reordering:
If commands which are objects of reordering are issued by an INIT which
permits reordering together with a SIMPLE.
Commands which are Objects of Reordering:
READ, READ EXTENDED, WRITE, WRITE EXTENDED
If the INIT permits command reordering processing, the IDD changes the
command processing order. It is necessary for the INIT to control concerning the
validity of data.
2-8
C141-C009

Advertisement

Table of Contents
loading

Table of Contents