Skip to content

fix: delete subvolume will automatically delete the associated qgroup#628

Open
obarisk wants to merge 4 commits intocontainers:mainfrom
obarisk:fix/637
Open

fix: delete subvolume will automatically delete the associated qgroup#628
obarisk wants to merge 4 commits intocontainers:mainfrom
obarisk:fix/637

Conversation

@obarisk
Copy link

@obarisk obarisk commented Feb 5, 2026

this should fix #627

@github-actions github-actions bot added the storage Related to "storage" package label Feb 5, 2026
@Luap99
Copy link
Member

Luap99 commented Feb 5, 2026

Note https://github.com/containers/container-libs/blob/main/CONTRIBUTING.md#sign-your-prs

I am not sure if we have any maintainer working on the btrfs code who is able to review and test for for correctness. Maybe you could provide a test case here?

@obarisk obarisk force-pushed the fix/637 branch 2 times, most recently from bf42f1d to 8bec674 Compare February 11, 2026 03:39
Signed-off-by: obarisk <obarisk@gmail.com>
Signed-off-by: obarisk <obarisk@gmail.com>
Signed-off-by: obarisk <obarisk@gmail.com>
@obarisk
Copy link
Author

obarisk commented Feb 13, 2026

test added. Using btrfs-progs to verify the result.

Not good enough. the test can't pass using -race.

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

Labels

storage Related to "storage" package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BTRFS qgroup deletion when deleting subvolume should be handled by kernel.

2 participants