Commit 859b61f
plugins/amzn: Handle EC2 local storage controller devices
When nvme_get_nsid() fails for EC2 local storage devices, check if it's
a controller device by attempting controller identification. If successful,
use NVME_NSID_ALL to get metrics for the controller device.
Signed-off-by: Zhen Wang <[email protected]>1 parent dbd54e2 commit 859b61f
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
521 | | - | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
522 | 528 | | |
523 | 529 | | |
524 | 530 | | |
| |||
0 commit comments