1TAPSET::SCSI(3stap)                                        TAPSET::SCSI(3stap)
2
3
4

NAME

6       tapset::scsi - systemtap scsi probe points
7
8
9

DESCRIPTION

11       This  family  of probe points is used to probe the SCSI activities.  It
12       contains the following probe points:
13
14
15       scsi.ioentry
16              Fires when SCSI mid layer prepares a SCSI request
17
18              Arguments:
19
20              disk_major
21                The major number of the disk
22
23              disk_minor
24                The minor number of the disk
25
26              device_state
27                The current state of the device. The possible values could be:
28
29                      SDEV_CREATED = 1,    /* device created but not added  to
30              sysfs
31                                            *  Only  internal commands allowed
32              (for inq) */
33                      SDEV_RUNNING = 2,    /* device properly configured
34                                            * All commands allowed */
35                      SDEV_CANCEL = 3,     /* beginning to delete device
36                                            *  Only  error  handler   commands
37              allowed */
38                      SDEV_DEL = 4,        /* device deleted
39                                            * no commands allowed */
40                      SDEV_QUIESCE = 5,    /* Device quiescent.  No block com‐
41              mands
42                                            * will be accepted, only  specials
43              (which
44                                            * originate in the mid-layer) */
45                      SDEV_OFFLINE  =  6,    /* Device offlined (by error han‐
46              dling or
47                                            * user request */
48                      SDEV_BLOCK = 7,      /* Device blocked by scsi lld.   No
49              scsi
50                                            *  commands  from user or midlayer
51              should be issued
52                                            * to the scsi lld. */
53
54
55       scsi.iodispatching
56              Fires when the SCSI mid layer dispatches a SCSI command  to  the
57              low level driver
58
59              Arguments:
60
61              host_no
62                The host number
63
64              channel
65                The channel number
66
67              lun
68                The lun number
69
70              dev_id
71                The scsi device id
72
73              device_state
74                The current state of the device.
75
76              data_direction
77                The  data_direction  specifies whether this command is from/to
78              the device.
79                The possible values could be:
80
81                      DMA_BIDIRECTIONAL = 0,
82                      DMA_TO_DEVICE = 1,
83                      DMA_FROM_DEVICE = 2,
84                      DMA_NONE = 3,
85
86              request_buffer
87                The request buffer address
88
89              req_bufflen
90                The request buffer length
91
92
93       scsi.iodone
94              Fires when a SCSI command  is  done  by  low  level  driver  and
95              enqueued into the done queue.
96
97              Arguments:
98
99              host_no
100                The host number
101
102              channel
103                The channel number
104
105              lun
106                The lun number
107
108              dev_id
109                The scsi device id
110
111              device_state
112                The current state of the device
113
114              data_direction
115                The  data_direction  specifies whether this command is from/to
116              the device.
117
118
119       scsi.iocompleted
120              Fires when SCSI mid layer runs  the  completion  processing  for
121              block device I/O requests
122
123              Arguments:
124
125              host_no
126                The host number
127
128              channel
129                The channel number
130
131              lun
132                The lun number
133
134              dev_id
135                The scsi device id
136
137              device_state
138                The current state of the device
139
140              data_direction
141                The  data_direction  specifies whether this command is from/to
142              the device.
143
144              goodbytes
145                The bytes completed.
146
147

SEE ALSO

149       stap(1), stapprobes(3stap)
150
151
152
153
154IBM                                                        TAPSET::SCSI(3stap)
Impressum