public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Qu Wenruo <quwenruo.btrfs@gmx.com>
To: Anand Jain <anand.jain@oracle.com>,
	linux-btrfs@vger.kernel.org, David Sterba <dsterba@suse.com>,
	Boris Burkov <boris@bur.io>
Cc: kernel-team@fb.com
Subject: Re: [PATCH 0/3] btrfs-progs: btrfstune --remove-simple-quota
Date: Mon, 6 Jan 2025 09:47:44 +1030	[thread overview]
Message-ID: <bad71f4e-fd17-4fd0-94de-4064efce70e1@gmx.com> (raw)
In-Reply-To: <75ec1c40-afe5-4d26-b1bf-ebd4adb7e4f8@oracle.com>

Sorry I forgot to merge them for so long..

Now merged into devel branch with all reviewed-by tags, and some small 
modifications:

- Put the doc fix first
- Add the missing man page entry for "--enable-simple-quota"
- Make remove_all_tree_items() to use btrfs_clear_tree() helper
- Add the missing man page entry for "--remove-simple-quota"

Thanks,
Qu

在 2025/1/4 21:05, Anand Jain 写道:
> 
> btrfstune --help shows -q as the option to enable simple quota, which 
> does not work.
> 
> David, has this set missed integration? OR Boris could push?
> 
> The whole series looks good to me.
> 
> Reviewed-by: Anand Jain <anand.jain@oracle.com>
> 
> Thx.
> 
> 
> On 12/7/24 02:48, Boris Burkov wrote:
>> 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
>>
> 
> 


      reply	other threads:[~2025-01-05 23:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=bad71f4e-fd17-4fd0-94de-4064efce70e1@gmx.com \
    --to=quwenruo.btrfs@gmx.com \
    --cc=anand.jain@oracle.com \
    --cc=boris@bur.io \
    --cc=dsterba@suse.com \
    --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