Fujitsu MBA3073RC Computer Drive User Manual


 
4.1 Control/Sense Commands
C141-C013 195
(1) PERSISTENT RESERVE IN service actions
In each Service Action, the drive needs to be in the ready state for accessing
reserve conditions and registered information. When the drive is not in the ready
state, the drive reports the CHECK CONDITION status. The sense key is set to
NOT READY [= 2], and sense data similar to data reported with the TEST UNIT
READY command is set.
The service action codes for the PERSISTENT RESERVE IN command are
defined below.
Table 4.24 PERSISTENT RESERVE IN service actions
Code Name Description
00h READ KEYS Reads all registered Reservation Keys
01h READ RESERVATION Reads the current persistent reservations
02h-1Fh Reserved Reserved
READ KEYS
In the READ KEYS Service Action, a drive transfers the following information to
the INIT as a parameter data list:
The current Generation value (refer to (2)).
All the Reservation keys currently registered (eight bytes for each key).
If multiple INITs have registered with the same key, the key appears in the list
once for the registration of each INIT and as many times as there are registered
INITs (keys appear in the list not in the order in which they have been registered
in the drive, but in ascending order of IDs, starting with the last INITs that has
registered a key (e.g., from ID#0)). These keys are those that have been registered
with the REGISTER Service Action of the PERSISTENT RESERVE OUT
command.
READ RESERVATIONS
In the READ RESERVATIONS Service Action, a drive transfers the following
information to the INIT as a parameter data list:
The current Generation value (refer to (2)).
The Reservation key that has been registered by the INIT having the
Persistent Reservation.
The Scope value and Type value
Scope-specific address (only Element scope)
When this Service Action is executed, if the drive does not have Persistent
Reservation, zero is set in the "Additional Length" field of the list to be
transferred as a parameter.