linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Boris Burkov <boris@bur.io>
To: linux-btrfs@vger.kernel.org, kernel-team@fb.com
Subject: [PATCH v2 0/8] btrfs-progs: simple quotas
Date: Thu, 20 Jul 2023 15:57:16 -0700	[thread overview]
Message-ID: <cover.1689893698.git.boris@bur.io> (raw)

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

---
Changelog:
v2:
* fixed messed up list numbering in doc
* fixed broken formatting
* used new command in enable ioctl instead of status value
* introduced new qgroup status flag to mkfs/tune

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            |  86 +++++++++++++++-
 cmds/quota.c                     |  39 +++++--
 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       |   3 +
 kernel-shared/uapi/btrfs_tree.h  |  17 ++-
 mkfs/main.c                      |  64 ++++++++++--
 tune/main.c                      |  13 ++-
 tune/quota.c                     | 172 +++++++++++++++++++++++++++++++
 tune/tune.h                      |   3 +
 18 files changed, 499 insertions(+), 27 deletions(-)
 create mode 100644 tune/quota.c

-- 
2.41.0


             reply	other threads:[~2023-07-20 22:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-20 22:57 Boris Burkov [this message]
2023-07-20 22:57 ` [PATCH v2 1/8] btrfs-progs: document squotas Boris Burkov
2023-07-20 22:57 ` [PATCH v2 2/8] btrfs-progs: simple quotas kernel definitions Boris Burkov
2023-07-20 22:57 ` [PATCH v2 3/8] btrfs-progs: simple quotas dump commands Boris Burkov
2023-07-20 22:57 ` [PATCH v2 4/8] btrfs-progs: simple quotas fsck Boris Burkov
2023-07-20 22:57 ` [PATCH v2 5/8] btrfs-progs: simple quotas mkfs Boris Burkov
2023-07-20 22:57 ` [PATCH v2 6/8] btrfs-progs: simple quotas btrfstune Boris Burkov
2023-07-20 22:57 ` [PATCH v2 7/8] btrfs-progs: simple quotas enable cmd Boris Burkov
2023-07-20 22:57 ` [PATCH v2 8/8] btrfs-progs: tree-checker: handle owner ref items Boris Burkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1689893698.git.boris@bur.io \
    --to=boris@bur.io \
    --cc=kernel-team@fb.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).