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 2001The pseudocode in A.5.1 through A.5.3 assumes that ACA is implemented and requested in the CDB control byte.If this is not the case, the implementation may be based on the <strong>SCSI</strong>-2 TIB 1 or other applicable standards.A.5.1 Pseudocode 1IF the threshold condition as defined by the TMC field is met:1) IF there is an active task1) Complete the active task2) If an ACA condition exists wait for it to be clearedEND2) Issue a unit attention condition to all initiators that have set the RLEC bit to one3) IF the unit attention condition is ignored1) Continue normal operations until the threshold condition is met againENDA.5.2 Pseudocode 2IF a log counter reaches its maximum value:1) Set DU to 12) IF there is no active task1) Wait until there is an active taskEND3) Complete the active task4) IF no ACA condition exists1) Create an ACA condition with a sense key of RECOVERED ERROR and additional sense code ofLOG EXCEPTION, COUNT AT MAXIMUMEND5) Wait for the ACA condition to be cleared6) IF the cause of the counter reaching maximum is not cleared by the application client1) Do not create an ACA condition and do not increment the counterENDENDA.5.3 Pseudocode 3IF the log of parameters is full:1) Place the new log parameter code value into the lowest parameter code value position (wrap-around theparameter codes)2) IF there is no active task1) Wait until there is an active taskEND3) Complete the active task4) IF no ACA condition exists1) Create an ACA condition with a sense key of RECOVERED ERROR and additional sense code ofLOG EXCEPTION, LIST CODES EXHAUSTEDEND5) Wait for the ACA condition to be cleared6) IF the cause of the log of parameters filling is not cleared by the application client1) Create an ACA condition every time an entry is placed into the log of parametersENDEND1. TIB for IT - Procedures for Logging Operations (X3-131-1994/TIB-1).228 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!