Commit 8826f20
committed
feat(metrics/block): add queue backlog length metric
This metric accumulates the number of pending
requests sitting in the virtio queue while a request
is being processed.
By looking at this number, one may make a decision
on whether an async IO solution would be beneficial.
(cherry picked from commit 58a87ed)
Signed-off-by: Nikita Kalyazin <[email protected]>1 parent bb57d28 commit 8826f20
File tree
3 files changed
+6
-0
lines changed- src/vmm/src/devices/virtio/block/virtio
- tests/host_tools
3 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
| 427 | + | |
427 | 428 | | |
428 | 429 | | |
429 | 430 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
| 191 | + | |
190 | 192 | | |
191 | 193 | | |
192 | 194 | | |
| |||
231 | 233 | | |
232 | 234 | | |
233 | 235 | | |
| 236 | + | |
| 237 | + | |
234 | 238 | | |
235 | 239 | | |
236 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
0 commit comments