From: Boris Burkov <boris@bur.io>
To: linux-btrfs@vger.kernel.org, kernel-team@fb.com
Subject: [PATCH 0/3] btrfs-progs: btrfstune --remove-simple-quota
Date: Thu, 11 Jul 2024 14:18:21 -0700 [thread overview]
Message-ID: <cover.1720732480.git.boris@bur.io> (raw)
To be able to nuke simple quotas entirely if you decide you don't want
them (and especially the OWNER_REFs) in your filesystem after all.
If you run
btrfstune --remove-simple-quota <dev>
on an unmounted filesystem, it will be as if simple quotas never existed
on that filesystem.
Boris Burkov (3):
btrfs-progs: add a helper for clearing all the items in a tree
btrfs-progs: btrfstune: fix documentation for --enable-simple-quota
btrfs-progs: btrfstune: add ability to remove squotas
kernel-shared/disk-io.c | 39 +++++
kernel-shared/disk-io.h | 2 +
kernel-shared/free-space-tree.c | 42 +----
.../065-btrfstune-simple-quota/test.sh | 33 ++++
tune/main.c | 18 +-
tune/quota.c | 160 ++++++++++++++++++
tune/tune.h | 1 +
7 files changed, 253 insertions(+), 42 deletions(-)
create mode 100755 tests/misc-tests/065-btrfstune-simple-quota/test.sh
--
2.45.2
next reply other threads:[~2024-07-11 21:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-11 21:18 Boris Burkov [this message]
2024-07-11 21:18 ` [PATCH 1/3] btrfs-progs: add a helper for clearing all the items in a tree Boris Burkov
2024-07-11 22:32 ` Qu Wenruo
2024-07-11 21:18 ` [PATCH 2/3] btrfs-progs: btrfstune: fix documentation for --enable-simple-quota Boris Burkov
2024-07-11 22:34 ` Qu Wenruo
2024-07-11 21:18 ` [PATCH 3/3] btrfs-progs: btrfstune: add ability to remove squotas Boris Burkov
2024-07-11 22:43 ` Qu Wenruo
2025-01-04 10:35 ` [PATCH 0/3] btrfs-progs: btrfstune --remove-simple-quota Anand Jain
2025-01-05 23:17 ` Qu Wenruo
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.1720732480.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