feat: support sysfs.Mdraids with Intel VROC#777
Open
dongjiang1989 wants to merge 3 commits into
Open
Conversation
f566329 to
3efbe8c
Compare
Contributor
Author
|
cc @NeonSludge |
Contributor
Author
|
@SuperQ PTAL, thanks |
3efbe8c to
d7f975c
Compare
toffiebotha
reviewed
Feb 9, 2026
dongjiang1989
added a commit
to dongjiang1989/procfs
that referenced
this pull request
Jun 22, 2026
- Change Mdraid.Disks from uint64 to *uint64 to distinguish unavailable (nil) from zero disks, addressing review feedback on PR prometheus#777. - Handle empty level file explicitly (case "") to avoid parsing empty raid_disks (node_exporter#3528). - Support reshape format "current (previous)" (e.g. "11 (10)") in raid_disks during grow/reshape operations. - Distinguish file read errors (returned) from empty/unparseable content (Disks set to nil). Closes: prometheus#771
Signed-off-by: dongjiang1989 <dongjiang1989@126.com> Signed-off-by: dongjiang <dongjiang1989@126.com>
- Change Mdraid.Disks from uint64 to *uint64 to distinguish unavailable (nil) from zero disks, addressing review feedback on PR prometheus#777. - Handle empty level file explicitly (case "") to avoid parsing empty raid_disks (node_exporter#3528). - Support reshape format "current (previous)" (e.g. "11 (10)") in raid_disks during grow/reshape operations. - Distinguish file read errors (returned) from empty/unparseable content (Disks set to nil). Closes: prometheus#771 Signed-off-by: dongjiang <dongjiang1989@126.com>
Resolve conflict in blockdevice/stats_test.go: - Update device count from 14 to 16 (added md7 container, md8 reshape) - Update sda device index from 9 to 11 in all tests - Include new TestSysBlockDeviceRotational from upstream
Contributor
Author
|
Updated |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes: #771