Skip to content

Conversation

@awz1234
Copy link
Contributor

@awz1234 awz1234 commented Oct 17, 2025

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.

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]>
@igaw
Copy link
Collaborator

igaw commented Oct 20, 2025

looks good. one thing you could do is to use the cleanup functions that would avoid those gotos

@igaw igaw merged commit 859b61f into linux-nvme:master Oct 20, 2025
15 checks passed
@igaw
Copy link
Collaborator

igaw commented Oct 20, 2025

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants