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.

T10/1236-D Revision 20 18 July 20017.21 RESERVE(10) command7.21.1 RESERVE(10) command introductionThe RESERVE(10) command (see table 109) is used to reserve a logical unit.Table 109 — RESERVE(10) commandBitByte7 6 5 4 3 2 1 00 OPERATION CODE (56h)1 Reserved 3RDPTY Reserved LONGID Obsolete2 Obsolete3 THIRD-PARTY DEVICE ID4 Reserved5 Reserved6 Reserved7 (MSB)PARAMETER LIST LENGTH8 (LSB)9 CONTROLThe RESERVE and RELEASE commands provide the basic mechanism for contention resolution inmultiple-initiator systems. The third-party reservation allows logical units to be reserved for another specified <strong>SCSI</strong>device. See 5.5.1 for a general description of reservations and the commands that manage them.If the RESERVE(10) command is implemented, then the RELEASE(10) also shall be implemented.Byte 1 Bit 0 and Byte 2 provide an obsolete way to reserve extents within a logical unit. If Byte 1, Bit 0 is equal toone, device servers not implementing the obsolete capability shall terminate the command with CHECKCONDITION status and the sense key shall be set to ILLEGAL REQUEST.7.21.2 Logical unit reservationLogical unit reservations are mandatory if the RESERVE(10) command is implemented. This command shallrequest that the entire logical unit be reserved for the exclusive use of the initiator until the reservation is supersededby another valid RESERVE command from the same initiator or until released by a RELEASE commandfrom the same initiator that made the reservation, by a TARGET RESET task management function performed byany initiator, by a hard reset condition, or by a power on cycle. A logical unit reservation shall not be granted if thelogical unit is reserved by another initiator. It shall be permissible for an initiator to reserve a logical unit that iscurrently reserved by that initiator. If the LONGID bit or the 3RDPTY bit is zero then the PARAMETER LIST LENGTH fieldshall be ignored.If the logical unit is reserved for another initiator, the device server shall return RESERVATION CONFLICT status.After honoring a logical unit reservation, the device server shall check each newly received command for reservationconflicts. See 5.5.1.156 dpANS <strong>SCSI</strong> <strong>Primary</strong> <strong>Commands</strong> - 2 (SPC-2)

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

Saved successfully!

Ooh no, something went wrong!