Commit 50863ae
committed
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 4d17bf7 commit 50863ae
1 file changed
Lines changed: 7 additions & 2 deletions
| 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 | + | |
522 | 527 | | |
523 | 528 | | |
524 | 529 | | |
| |||
0 commit comments