Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add btrfs specific data to filesystem plugin #1732

Merged
merged 1 commit into from
Feb 10, 2022
Merged

Add btrfs specific data to filesystem plugin #1732

merged 1 commit into from
Feb 10, 2022

Conversation

boryas
Copy link

@boryas boryas commented Feb 7, 2022

Collect data exported by btrfs to /sys/fs/btrfs// and store it in
[:btrfs] for each btrfs filesystem. The current focus is on allocation
data, grouped by block_group type (data, metadata, system), but could be
easily extended in the future.

N.B. it doesn't currently detect any raid mode besides "single" and
"dup", since the main motivation is analyzing metadata usage.

Signed-off-by: Boris Burkov boris@bur.io

Description

description in the commit.

Related Issue

#1731

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • All commits have been signed-off for the Developer Certificate of Origin.

@boryas boryas requested review from a team as code owners February 7, 2022 22:33
Collect data exported by btrfs to /sys/fs/btrfs/<uuid>/ and store it in
[:btrfs] for each btrfs filesystem. The current focus is on allocation
data, grouped by block_group type (data, metadata, system), but could be
easily extended in the future.

N.B. it doesn't currently detect any raid mode besides "single" and
"dup", since the main motivation is analyzing metadata usage.

Signed-off-by: Boris Burkov <boris@bur.io>
Copy link
Collaborator

@jaymzh jaymzh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this. Thanks for moving this into filesystem!

@tas50 tas50 merged commit 0d189a1 into chef:main Feb 10, 2022
@boryas boryas deleted the btrfs branch February 10, 2022 20:40
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.

None yet

4 participants