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

Conversion to/from block-group-tree #556

Closed
kdave opened this issue Dec 14, 2022 · 1 comment
Closed

Conversion to/from block-group-tree #556

kdave opened this issue Dec 14, 2022 · 1 comment
Milestone

Comments

@kdave
Copy link
Owner

kdave commented Dec 14, 2022

Since v6.0.1 btrfstune -b allows to convert to block-group-tree feature (kernel 6.1) in-place. This is still considered experimental and needs to be enabled as such during build.

The implementation is straightfowrad, old items are deleted and new added, in batches and the command can be interrupted and restarted. To make it completely safe there should be a way to revert to the original state from the intermediate state.

@kdave kdave added enhancement experimental Experimental or unstable feature labels Dec 14, 2022
@kdave kdave added this to the v6.3 milestone May 23, 2023
@kdave kdave removed the experimental Experimental or unstable feature label May 23, 2023
@kdave
Copy link
Owner Author

kdave commented May 23, 2023

Version 6.3 added bidirectional conversion for block-group-tree and extent tree, moved feature out of experimental build.

btrfstune --convert-to-block-group-tree image
btrfstune --convert-from-block-group-tree image

@kdave kdave closed this as completed May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant