public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] btrfs-progs: btrfstune --remove-simple-quota
@ 2024-07-11 21:18 Boris Burkov
  2024-07-11 21:18 ` [PATCH 1/3] btrfs-progs: add a helper for clearing all the items in a tree Boris Burkov
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Boris Burkov @ 2024-07-11 21:18 UTC (permalink / raw)
  To: linux-btrfs, kernel-team

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-01-05 23:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-11 21:18 [PATCH 0/3] btrfs-progs: btrfstune --remove-simple-quota Boris Burkov
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox