Skip to content

cgroup1: skip unknown blkio device rows - #399

Open
zzz-yu wants to merge 1 commit into
containerd:mainfrom
zzz-yu:fix/skip-unknown-blkio-devices
Open

zzz-yu wants to merge 1 commit into
containerd:mainfrom
zzz-yu:fix/skip-unknown-blkio-devices

Conversation

@zzz-yu

@zzz-yu zzz-yu commented Sep 15, 2026

Copy link
Copy Markdown

Description

Some kernels report blkio statistics for hidden NVMe multipath devices as (unknown). The parser currently treats that marker as a numeric major device and aborts the whole stats read, discarding valid entries. Ignore only the unknown row and continue parsing the remaining devices.

Fixes #393

AI/LLM disclosure: AI assistance was used to trace the parser path and draft the patch; the change was reviewed against the issue and source.

Ignore (unknown) blkio rows so valid device statistics continue to parse.

Signed-off-by: Yu Zhou <66656208+zzz-yu@users.noreply.github.com>
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.

cgroup v1 blkio parser aborts on "(unknown)" device rows, causing all container stats to fail

1 participant