mbox series

[0/8] btrfs-progs: simple quotas

Message ID cover.1688599734.git.boris@bur.io (mailing list archive)
Headers show
Series btrfs-progs: simple quotas | expand

Message

Boris Burkov July 5, 2023, 11:36 p.m. UTC
btrfs-progs changes for supporting simple quotas. Notably:
btrfs quota can enable squota via ioctl
mkfs can create an fs with squota enabled
btrfstune can enable squota
btrfs inspect commands dump squota fields
btrfs check validates and repairs squota invariants

Boris Burkov (8):
  btrfs-progs: document squotas
  btrfs-progs: simple quotas kernel definitions
  btrfs-progs: simple quotas dump commands
  btrfs-progs: simple quotas fsck
  btrfs-progs: simple quotas mkfs
  btrfs-progs: simple quotas btrfstune
  btrfs-progs: simple quotas enable cmd
  btrfs-progs: tree-checker: handle owner ref items

 Documentation/btrfs-quota.rst    |   7 +-
 Documentation/ch-quota-intro.rst |  59 +++++++++++
 Documentation/mkfs.btrfs.rst     |   6 ++
 Makefile                         |   2 +-
 check/main.c                     |   2 +
 check/qgroup-verify.c            | 122 ++++++++++++++++++----
 cmds/quota.c                     |  41 ++++++--
 common/fsfeatures.c              |   9 ++
 kernel-shared/accessors.h        |   9 ++
 kernel-shared/ctree.h            |   6 +-
 kernel-shared/print-tree.c       |  27 ++++-
 kernel-shared/tree-checker.c     |   2 +
 kernel-shared/uapi/btrfs.h       |   4 +
 kernel-shared/uapi/btrfs_tree.h  |  12 +++
 mkfs/main.c                      |  63 ++++++++++--
 tune/main.c                      |  13 ++-
 tune/quota.c                     | 169 +++++++++++++++++++++++++++++++
 tune/tune.h                      |   3 +
 18 files changed, 513 insertions(+), 43 deletions(-)
 create mode 100644 tune/quota.c