user manual

6.Command Specification PERSISTENT RESERVE OUT
6-62 SONY AIT-3Ex drive SDX-800V series Ver.1.1
6.10. PERSISTENT RESERVE OUT 5Fh
Bit
Byte
7 6 5 4 3 2 1 0
0 Operation Code (5Fh)
1 Reserved SERVICE ACTION
2 SCOPE TYPE
3 Reserved
4 Reserved
5 Reserved
6 Reserved
7 (MSB) Parameter List Length (18h)
8 (LSB)
9 Unused (00b) Reserved Flag Link
The PERSISTENT RESERVE OUT command is used to request service actions that reserve a logical unit or
element for the exclusive or shared used if a particular initiator. The command uses other service actions to manage
and remove such reservations. The command shall be used in conjunction with the PERSISTENT RESERVE IN
command and shall not be used with the RESERVE and RELEASE commands.
Initiator performing PERSISTENT RESERVE OUT service actions are identified by a reservation key provided by
the application client. An application client may use the PERSISTENT RESERVE IN command to identify which
initiators are holding a persistent reservation and use the PERSISTENT RESERVE OUT command to preempt that
reservation if required.
If a PERSISTENT RESERVE OUT command is attempted, but there are insufficient drive resources to complete the
operation, the drive shall return a CHECK CONDITION status. The sense key shall be set to ILLEGAL REQUEST
and the additional sense data shall be set to INSUFFICIENT REGISTRATION RESOURCES.
The PERSISTENT RESERVE OUT command contains fields that specify a persistent reservation service action, the
intended scope of the persistent reservation, and the restrictions caused by the persistent reservation. The TYPE
and SCOPE fields are define in 6.9. If a SCOPE filed specifies a scope that is not implemented, the drive shall return
a CHECK CONDITION status. The sense key shall be set to ILLEGAL REQUEST and additional sense data shall be
set to INVALID FIELD IN CDB.
Fields contained in the PERSISTENT RESERVE OUT parameter list specify the information required to perform a
particular persistent reservation service action.
The parameter list shall be 24 bytes in length and the Parameter List Length field shall contain 24(18h). If the
parameter list length is not 24, the drive shall return a CHECK CONDITION status. The sense key shall be set to
ILLGAL REQUEST and the additional sense data shall be set to PARAMETER LIST LENGTH ERROR.
SERVICE ACTION: When processing the PERSISTENT RESERVE OUT service actions, the drive shall increment
the generation value as specified in 6.9.
Table 6-60: PERSISTENT RESERVE OUT SERVICE ACTION codes
Code Name Description
00h REGISTER Register a reservation key with the drive
01h RESERVE Create a persistent reservation having a specified SCOPE and TYPE. The
SCOPE and TYPE of a persistent reservation are defined in 6.9
02h RELEASE Releases the selected reservation for the requesting initiator.
03h CLEAR Clears all reservation keys and all persistent reservations.
04h PREEMPT Preempts persistent reservations from another initiator.
05h PREEMPT &
ABORT
Preempts persistent reservations from another initiator and aborts the task set for
the preempted initiator.
06h-1Fh Reserved
The parameter list required to perform the PERSISTENT RESERVE OUT command has the following format: