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 2001The state of the log parameter control bits for parameters 0000h through 0FFFh is specified in table 129.Table 129 — Parameter control bits for general usage parameters (0000h through 0FFFh)The values stored in the GENERAL USAGE PARAMETER BYTES represent data sent to the device server in a previousLOG SELECT command. If a previous LOG SELECT command has not occurred, the data is vendor specific.In the application client page, parameter codes 1000h through FFFFh are reserved.8.2.3 Buffer over-run/under-run pageBit Value DescriptionDU 1 Value provided by application clientDS 0 Device server supports saving of parameterTSD 0 Device server manages saving of parameterETC 0 No threshold comparison is made on this valueTMC xx Ignored when ETC is 0LBIN 1 The parameter is in binary formatLP 1 The parameter is a list parameterThe buffer over-run/under-run page (page code 01h) defines 24 data counters that may be used to record thenumber of buffer over-runs or under-runs for the logical unit. A target that implements this page may implementone or more of the defined data counters.A buffer over-run or under-run may occur when an initiator does not transmit data to or from the target’s buffer fastenough to keep up with reading or writing the media. The cause of this problem is protocol specific. A bufferover-run condition may occur during a read operation when a buffer full condition prevents continued transfer ofdata from the media to the buffer. A buffer under-run condition may occur during a write operation when a bufferempty condition prevents continued transfer of data to the media from the buffer. Most devices incur a delay at thispoint while the media is repositioned.Table 130 defines the PARAMETER CODE field for the buffer over-run/under-run counters.Table 130 — Parameter code field for buffer over-run/under-run countersBitByte7 6 5 4 3 2 1 00 Reserved1 COUNT BASIS CAUSE TYPEThe PARAMETER CODE field for buffer over-run/under-run counters is a 16-bit value comprised of eight reserved bits,a three-bit COUNT BASIS field (see table 131), a four-bit CAUSE field (see table 132), and a one-bit TYPE field. Theseare concatenated to determine the value of the parameter code for that log parameter. For example, a counter forparameter code value of 0023h specifies a count basis of 001b; a cause of 0001b; and a type of 1b; this counter isincremented once per command that experiences an over-run due to the <strong>SCSI</strong> bus being busy.178 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!