btfs: Subvolume Quota Groups
Get series with b4
b4 am [email protected]Versions newest first
- v0 Latest18 patches 8 repliesIn review
Patches in v0 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | btrfs: mark delayed refs as for cowfs/ fs/ fs/ +8 more | +136 | 0 replies | |
| 2/18 | btrfs: always save ref_root in delayed refsfs/ fs/ | +12 | 0 replies | |
| 3/18 | btrfs: add nested locking mode for pathsfs/ fs/ fs/ +3 more | +66 | 3 replies | |
| 4/18 | btrfs: qgroup on-disk formatfs/ | +136 | 0 replies | |
| 5/18 | btrfs: add helper for tree enumerationfs/ fs/ | +82 | 0 replies | |
| 6/18 | btrfs: check the root passed to btrfs_end_transactionfs/ fs/ | +12 | 0 replies | |
| 7/18 | btrfs: generic data structure to build unique listsfs/ fs/ fs/ | +183 | 4 replies | |
| 8/18 | btrfs: added helper to create new treesfs/ fs/ | +79 | 0 replies | |
| 9/18 | btrfs: qgroup state and initializationfs/ fs/ | +39 | 0 replies | |
| 10/18 | btrfs: Test code to change the order of delayed-ref processingfs/ | +50 | 0 replies | |
| 11/18 | btrfs: add sequence numbers to delayed refsfs/ fs/ fs/ | +92 | 0 replies | |
| 12/18 | btrfs: put back delayed refs that are too newfs/ fs/ | +47 | 0 replies | |
| 13/18 | btrfs: qgroup implementation and prototypesfs/ fs/ fs/ +1 more | +2208 | 0 replies | |
| 14/18 | btrfs: quota tree support and startupfs/ | +41 | 0 replies | |
| 15/18 | btrfs: hooks for qgroup to record delayed refsfs/ fs/ | +25 | 0 replies | |
| 16/18 | btrfs: hooks to reserve qgroup spacefs/ fs/ fs/ | +30 | 0 replies | |
| 17/18 | btrfs: add qgroup ioctlsfs/ fs/ | +212 | 1 reply | |
| 18/18 | btrfs: add qgroup inheritancefs/ fs/ fs/ +1 more | +61 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v0 yet.
Cover letter [PATCH v0 00/18] btfs: Subvolume Quota Groups
This is a first draft of a subvolume quota implementation. It is possible to limit subvolumes and any group of subvolumes and also to track the amount of space that will get freed when deleting snapshots.
The current version is functionally incomplete, with the main missing feature being the initial scan and rescan of an existing filesystem.
I put some effort into writing an introduction into the concepts and implementation which can be found at
http://sensille.com/qgroups.pdf
The purpose of getting it out in this early stage is to get as much input as possible, in regard to concepts, implementation and testing. The accompanying user mode parts will take some additional days to gather.
Thanks,
Arne
Arne Jansen (18):
btrfs: mark delayed refs as for cow
btrfs: always save ref_root in delayed refs
btrfs: add nested locking mode for paths
btrfs: qgroup on-disk format
btrfs: add helper for tree enumeration
btrfs: check the root passed to btrfs_end_transaction
btrfs: generic data structure to build unique lists
btrfs: added helper to create new trees
btrfs: qgroup state and initialization
btrfs: Test code to change the order of delayed-ref processing
btrfs: add sequence numbers to delayed refs
btrfs: put back delayed refs that are too new
btrfs: qgroup implementation and prototypes
btrfs: quota tree support and startup
btrfs: hooks for qgroup to record delayed refs
btrfs: hooks to reserve qgroup space
btrfs: add qgroup ioctls
btrfs: add qgroup inheritance
fs/btrfs/Makefile | 3 +- fs/btrfs/ctree.c | 114 +++- fs/btrfs/ctree.h | 224 +++++- fs/btrfs/delayed-ref.c | 188 ++++-- fs/btrfs/delayed-ref.h | 48 +- fs/btrfs/disk-io.c | 130 +++- fs/btrfs/disk-io.h | 3 + fs/btrfs/extent-tree.c | 185 ++++- fs/btrfs/extent_io.c | 1 + fs/btrfs/extent_io.h | 2 + fs/btrfs/file.c | 10 +- fs/btrfs/inode.c | 2 +- fs/btrfs/ioctl.c | 247 +++++- fs/btrfs/ioctl.h | 62 ++- fs/btrfs/locking.c | 51 ++- fs/btrfs/locking.h | 2 +- fs/btrfs/qgroup.c | 2151 ++++++++++++++++++++++++++++++++++++++++++++++++ fs/btrfs/relocation.c | 18 +- fs/btrfs/transaction.c | 45 +- fs/btrfs/transaction.h | 8 + fs/btrfs/tree-log.c | 2 +- fs/btrfs/ulist.c | 122 +++ fs/btrfs/ulist.h | 59 ++ 23 files changed, 3501 insertions(+), 176 deletions(-) create mode 100644 fs/btrfs/qgroup.c create mode 100644 fs/btrfs/ulist.c create mode 100644 fs/btrfs/ulist.h
Signature · 1 line
1.7.3.4