Dell PowerVault ML6000 Dell PowerVault ML6000 SCSI Reference Guide - Page 65

Read Buffer – 3Ch, What the Library Does With This Command, Command Usage, Read Buffer CDB Format

Page 65 highlights

Read Buffer - 3Ch What the Library Does With This Command The library will return a requested buffer of data. The Controller logical unit is the primary device to use with this command, since the Media Changer logical units only support the echo buffer mode. Command Usage This command can be used primarily for enhanced domain validation. The initiator can use Descriptor mode first to determine the size of the data available to read, followed by Data mode to then read it. Depending on the size of the requested buffer, it can also be retrieved in blocks, utilizing offsets into the buffer. Read Buffer CDB Format The READ BUFFER CDB format is shown in the following table. Table 52 READ BUFFER CDB format Byte Bit 7 6 5 4 3 2 1 0 0 Op Code (3Ch) 1 Logical Unit Number Rsvd Mode 2 Buffer ID 3 Buffer Offset 5 6 Allocation Length 8 9 Control Mode - The supported modes are: • 2h - Data • 3h - Descriptor • Ah - Echo Buffer • Bh - Echo Buffer Descriptor In Data Mode, data is transferred from the buffer specified by the Buffer ID field. Buffer IDs are assigned beginning with zero, and are assigned contiguously. Buffer ID code assignments for the READ BUFFER command are the same as for the WRITE BUFFER command. In Descriptor Mode, a maximum of four bytes of READ BUFFER descriptor information is returned. The library returns the descriptor information for the buffer specified by the buffer ID. If there is no buffer associated with the specified Buffer ID, all zeros are returned in the READ BUFFER descriptor. The Buffer Offset field is reserved in this mode. The allocation length should be set to at least four for this mode. See Table 53 on page 56 for a definition of the READ BUFFER descriptor. PowerVault ML6000 SCSI Reference Guide 55

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90

PowerVault ML6000 SCSI Reference Guide
55
Read Buffer – 3Ch
What the Library Does With This Command
The library will return a requested buffer of data. The Controller logical unit is the primary device to use with
this command, since the Media Changer logical units only support the echo buffer mode.
Command Usage
This command can be used primarily for enhanced domain validation. The initiator can use Descriptor mode
first to determine the size of the data available to read, followed by Data mode to then read it. Depending
on the size of the requested buffer, it can also be retrieved in blocks, utilizing offsets into the buffer.
Read Buffer CDB Format
The READ BUFFER CDB format is shown in the following table.
Mode
– The supported modes are:
2h – Data
3h – Descriptor
Ah – Echo Buffer
Bh – Echo Buffer Descriptor
In
Data Mode
, data is transferred from the buffer specified by the Buffer ID field. Buffer IDs are assigned
beginning with zero, and are assigned contiguously. Buffer ID code assignments for the READ BUFFER
command are the same as for the WRITE BUFFER command.
In
Descriptor Mode
, a maximum of four bytes of READ BUFFER descriptor information is returned. The
library returns the descriptor information for the buffer specified by the buffer ID. If there is no buffer
associated with the specified Buffer ID, all zeros are returned in the READ BUFFER descriptor. The Buffer
Offset field is reserved in this mode. The allocation length should be set to at least four for this mode. See
Table 53
on page 56 for a definition of the READ BUFFER descriptor.
Table 52
READ BUFFER CDB format
Bit
Byte
7
6
5
4
3
2
1
0
0
Op Code (3Ch)
1
Logical Unit Number
Rsvd
Mode
2
Buffer ID
3
Buffer Offset
5
6
Allocation Length
8
9
Control