6.Command Specification

PERSISTENT RESERVE IN

GENERATION: This field shall contain a 32-bit counter maintained by the drive that shall be incremented every time a PERSISTENT RESERVE OUT command requests a REGISTER, a CLEAR, a PREEMPT, or a PREEMPT AND ABORT service action. The counter shall not be incremented by a PERSISTENT RESERVE IN command, by a PERSISTENT RESERVE OUT command that performs a RESERVE or RELEASE service action, or by a PERSISTENT RESERVE OUT command that is not performed due to an error or reservation conflict. The generation value shall be set to 0 as part of the power on reset process.

Additional Length: This filed contains a counter of the number of bytes in the Reservation key list. If the allocation length specified by the PERSISTENT RESERVE IN command is not sufficient to contain the entire parameter list, then only the bytes from 0 to the maximum allowed allocation length shall be sent to the application client. The incremental remaining bytes shall be truncated, although the Additional Length field shall still contain the actual number of bytes in the reservation key list without consideration of any truncation resulting from an insufficient allocation length. This shall not be considered an error.

Reservation Key: The reservation key list contains the 8-byte reservation keys for all initiators that have registered through all ports with drive.

The returned the parameter data provided in response to a PERSISTENT RESERVE IN command with the READ RESERVATION service action has the following format:

Table 6-56: PERSISTENT RESERVATION IN parameter data for READ RESERVATION

Bit

7

6

5

4

3

2

1

0

Byte

 

 

 

 

 

 

 

 

0

(MSB)

 

 

GENERATION

 

 

 

3

 

 

 

 

 

 

 

(LSB)

4

(MSB)

 

 

Additional Length

 

 

 

7

 

 

 

 

 

 

 

(LSB)

8

(MSB)

 

 

Reservation descriptor

 

 

 

23

 

 

 

 

 

 

 

(LSB)

GENERATION: This field shall be defined for the PERSISTENT RESERVE IN READ KEYS parameter data.

Additional Length: This filed contains a counter of the number of bytes to follow in Reservation descriptor. If the allocation length specified by the PERSISTENT RESERVE IN command is not sufficient to contain the entire parameter list, then only the bytes from 0 to the maximum allowed allocation length shall be sent to the application client. The incremental remaining bytes shall be truncated, although the Additional Length field shall still contain the actual number of bytes of Reservation descriptor and shall not be affected by the truncation. This shall not be considered an error.

Reservation descriptor: The format of this field is defined in table 6-57.

Table 6-57: PERSISTENT RESERVATION IN Reservation Descriptor

Bit

7

6

 

5

 

4

 

3

 

2

 

1

0

Byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

(MSB)

 

 

 

 

Reservation Key

 

 

 

 

7

 

 

 

 

 

 

 

 

 

 

 

 

 

(LSB)

8

(MSB)

 

 

 

SCOPE-SPECIFIC Address

 

 

 

 

11

 

 

 

 

 

 

(0 0 0 0)

 

 

 

 

(LSB)

12

 

 

 

 

 

 

Reserved

 

 

 

 

13

 

 

SCOPE

 

 

 

 

 

 

 

TYPE

 

14

 

 

 

 

 

 

Obsolete

 

 

 

 

15

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The Reservation descriptor for each reservation shall contain the Reservation Key under which the persistent reservation is held. The TYPE and SCOPE of each persistent reservation as present in the PERSISTENT RESERVE OUT command that created the persistent reservation shall be returned.

SCOPE-SPECIFIC Address: The drive does not support an Element reservation. This field shall be set to zero.

6-60

SONY AIT-3Ex drive SDX-800V series Ver.1.1

Page 118
Image 118
Sony SDX-800V/R manual Reservation descriptor, Reservation Key, SCOPE-SPECIFIC Address, Scope Type