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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

T10/1236-D Revision 20 18 July 20017.14.3 RECEIVE DATA service actionIf the copy manager supports those segment descriptors require data to be held for transfer to the applicationclient, then the RECEIVE DATA service action causes the copy manager to return the held data using the formatshown in table 90. If a copy manager supports any of the segment descriptor type codes that require data to beheld for the application client (see 7.2.5), then it shall also support the RECEIVE COPY RESULTS command withRECEIVE DATA service action.If the LIST IDENTIFIER field of a RECEIVE COPY RESULTS CDB identifies an EXTENDED COPY command that stillis being processed by the copy manager, the command shall be terminated with a CHECK CONDITION status.The sense key shall be set to ILLEGAL REQUEST and the additional sense code shall be set to INVALID FIELD INCDB.Table 90 — Parameter data for the RECEIVE DATA service actionBitByte7 6 5 4 3 2 1 00 (MSB)AVAILABLE DATA (n-4)3 (LSB)4HELD DATAnFollowing completion of an EXTENDED COPY command, the copy manager shall preserve all data returned by aRECIEVE DATA service action for a vendor specific period of time. The application client should issue a RECEIVECOPY RESULTS command with RECEIVE DATA service action as soon as practical following completion of theEXTENDED COPY command to insure that the data is not discarded by the copy manager. The copy managershall discard the buffered inline data:a) after all data held for a specific EXTENDED COPY command has been successfully transferred to theapplication client;b) when a RECIEVE COPY RESULTS command with RECEIVE DATA service action has been received fromthe same initiator with a matching list identifier, with the ALLOCATION LENGTH field set to zero;c) when another EXTENDED COPY command is received from the same initiator and the list identifiermatches the list identifier associated with the data preserved for RECEIVE DATA service action;d) when the copy manager detects a hard reset condition; ore) when the copy manager requires the resources used to preserve the data.The AVAILABLE DATA field shall contain the number of bytes of held data available for delivery to the applicationclient. If the amount of held data sent to the application client is reduced due to insufficient allocation length, theAVAILABLE DATA field shall not be altered and the held data shall not be discarded.The HELD DATA field contains the data held by the copy manager for delivery to the application client as prescribedby several segment descriptor type codes. Unless the copy manager’s held data limit (see 7.14.4) is exceeded, thefirst byte held in response to the first segment descriptor in the EXTENDED COPY parameter list prescribing theholding of data (called the oldest byte held) is returned in byte 4. The last byte held in response to the last segmentdescriptor in the EXTENDED COPY parameter list prescribing the holding of data (called the newest byte held) isreturned in byte n.122 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!