Project

General

Profile

Actions

action #11446

closed

Feature 318144: Btrfs quota group improvements

Added by maritawerner about 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Start date:
2016-04-01
Due date:
% Done:

100%

Estimated time:
Difficulty:

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.


Related issues 1 (0 open1 closed)

Copied to openQA Tests - action #13974: btrfs_qgroups tests unstable (on o3)Rejectedmkravec2016-04-01

Actions
Actions

Also available in: Atom PDF