From: Qu Wenruo <wqu@suse.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH v2 0/3] btrfs-progs: add block-group-tree to the default mkfs/convert features
Date: Thu, 27 Nov 2025 18:03:14 +1030 [thread overview]
Message-ID: <cover.1764228560.git.wqu@suse.com> (raw)
[CHANGELOG]
v2:
- Automatically remove bgt feature when dependent feature is missing
Instead of erroring out. This will allow us to run the existing
no-holes/v1 free space cache test cases without any modification.
I was planning to do this during v6.12 but forgot it and now the next
LTS kernel release is not that far away, it's finally time to make the
switch.
The first patch is to change mkfs/btrfs-convert from rejecting
"bgt,^no-holes" to disabling bgt when no-holes/fst feature is not
selected.
This allows the existing "mkfs.btrfs ^no-holes" to be executed without
extra modification.
The second patch is a large page-size specific fix, where on 64K page
size systems misc/057 will fail due to subpage mounts always enable v2
free space cache, resulting later conversion failure to fst (as it's
already fst).
The final patch is the one enabling new default block-group-tree feature
for mkfs and convert.
Qu Wenruo (3):
btrfs-progs: disable block-group-tree feature if dependency is missing
btrfs-progs: misc-tests: check if free space tree is enabled after
mount
btrfs-progs: add block-group-tree to the default mkfs features
Documentation/mkfs.btrfs.rst | 7 ++++++-
common/fsfeatures.c | 2 +-
common/fsfeatures.h | 3 ++-
convert/main.c | 4 ++--
mkfs/main.c | 10 +++++++---
tests/misc-tests/057-btrfstune-free-space-tree/test.sh | 8 ++++++++
6 files changed, 26 insertions(+), 8 deletions(-)
--
2.52.0
next reply other threads:[~2025-11-27 7:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-27 7:33 Qu Wenruo [this message]
2025-11-27 7:33 ` [PATCH v2 1/3] btrfs-progs: disable block-group-tree feature if dependency is missing Qu Wenruo
2025-11-27 7:33 ` [PATCH v2 2/3] btrfs-progs: misc-tests: check if free space tree is enabled after mount Qu Wenruo
2025-11-27 7:33 ` [PATCH v2 3/3] btrfs-progs: add block-group-tree to the default mkfs features Qu Wenruo
2025-12-02 1:21 ` [PATCH v2 0/3] btrfs-progs: add block-group-tree to the default mkfs/convert features Nicholas D Steeves
2025-12-02 4:09 ` 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.1764228560.git.wqu@suse.com \
--to=wqu@suse.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