12.07.2015 Views

SCSI Primary Commands - 2.pdf

SCSI Primary Commands - 2.pdf

SCSI Primary Commands - 2.pdf

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

18 July 2001 T10/1236-D Revision 207.11 PERSISTENT RESERVE OUT command7.11.1 PERSISTENT RESERVE OUT command introductionThe PERSISTENT RESERVE OUT command (see table 73) is used to request service actions that reserve alogical unit or element for the exclusive or shared use of a particular initiator. The command uses other serviceactions to manage and remove such reservations. The command shall be used in conjunction with thePERSISTENT RESERVE IN command and shall not be used with the RESERVE and RELEASE commands.Initiators performing PERSISTENT RESERVE OUT service actions are identified by a reservation key provided bythe application client. An application client may use the PERSISTENT RESERVE IN command to obtain the reservationkey for the initiator holding a persistent reservation and may use the PERSISTENT RESERVE OUTcommand to preempt that reservation.Table 73 — PERSISTENT RESERVE OUT commandBitByte7 6 5 4 3 2 1 00 OPERATION CODE (5Fh)1 Reserved SERVICE ACTION2 SCOPE TYPE3 Reserved4 Reserved5 Reserved6 Reserved7 (MSB)PARAMETER LIST LENGTH (18h)8 (LSB)9 CONTROLIf a PERSISTENT RESERVE OUT command is attempted, but there are insufficient device server resources tocomplete the operation, the device server shall return a CHECK CONDITION status. The sense key shall be set toILLEGAL 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. TheTYPE and SCOPE fields are defined in 7.10.4.2 and 7.10.4.3. If a SCOPE field specifies a scope that is not implemented,the device server shall return a CHECK CONDITION status. The sense key shall be set to ILLEGALREQUEST 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 aparticular persistent reservation service action.The parameter list shall be 24 bytes in length and the PARAMETER LIST LENGTH field shall contain 24 (18h). If theparameter list length is not 24, the device server shall return a CHECK CONDITION status. The sense key shall beset to ILLEGAL REQUEST and the additional sense data shall be set to PARAMETER LIST LENGTH ERROR.dpANS <strong>SCSI</strong> <strong>Primary</strong> <strong>Commands</strong> - 2 (SPC-2) 109

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!