action #11446
closedFeature 318144: Btrfs quota group improvements
100%
Description
For details see https://fate.suse.com/318144
First check if the Feature status is "done".
I propose that I improve the implementation of btrfs quota groups beyond what we had for SLES-12 GA. The benefits to this work would be that snapper and our end users would get improved accounting of space usage on btrfs. In addition I list a few items which are intended to generally improve the quality of btrfs quota groups.
Specifically:
Kernel Tasks:
Implement hierarchical quota groups. This way snapper could create parent groups which account properly for the groups below them. This may have a performance impact on quota rescan though.
Delete qgroup items on subvolume deletion (I wanted this for us earlier but it turned out to be more complicated than initially thought)
Btrfsprogs:
Accounting of heirarchical groups in btrfsck (right now btrfsck only cares about level 0 groups)
btrfsck to write out fixed qgroup items. This prevents user from having to do a rescan on unclean shutdown.
Updated by okurz almost 8 years ago
- Target version changed from 168 to Milestone 3
Updated by mkravec over 7 years ago
- Status changed from New to In Progress
- Assignee set to mkravec
Updated by mkravec over 7 years ago
- % Done changed from 0 to 100
Updated by maritawerner over 7 years ago
Hi,I am out of office untill August, 14, my back-up is Sebastian Chlad schlad@suse.comBest regards,Marita Werner
Updated by mkravec over 7 years ago
PR merged: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/1583
Local run: http://dhcp91.suse.cz/tests/1819
Waiting for verification run from osd.
Updated by okurz over 7 years ago
works fine in production on sles+extratests on x86_64: https://openqa.suse.de/tests/502327#step/btrfs_qgroups/25
fails on ppc64le: https://openqa.suse.de/tests/502327#step/btrfs_qgroups/25
Please check
Updated by mkravec over 7 years ago
This fail seems quite strange, test does this:
- btrfs qgroup limit 50m a
- for c in {1..40}; do dd if=/dev/zero bs=1M count=1 of=a/file\$c; done and fails to write at 34M on ppc64le.
I will check with btrfs people tomorrow, or maybe someone with ppc knowledge can explain.
Updated by RBrownSUSE over 7 years ago
please file a bug regarding the qgroups issue on ppc64le
Updated by mkravec over 7 years ago
- Status changed from In Progress to Feedback
Block size is different on ppc and x86_64. Test needs to be updated to take this into account.
Test should also contain check for:
https://bugzilla.suse.com/show_bug.cgi?id=993841
Updated by mkravec over 7 years ago
- Status changed from Feedback to In Progress
Updated by mkravec over 7 years ago
PR merged: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/1729
Test run: https://openqa.suse.de/tests/522292
Status: Test run fails because of bsc#993841
Updated by mkravec over 7 years ago
- Status changed from In Progress to Resolved
Updated by okurz over 7 years ago
- Copied to action #13974: btrfs_qgroups tests unstable (on o3) added