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.