From: Qu Wenruo <wqu@suse.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/9] btrfs-progs: convert: fix a long bug that bgt feature never works
Date: Sat, 24 May 2025 11:38:05 +0930 [thread overview]
Message-ID: <cover.1748049973.git.wqu@suse.com> (raw)
There is a long bug that, "btrfs-convert -O bgt" doesn't create a fs
with bgt feature at all.
In fact "mkfs.btrfs -O bgt" is no different than "mkfs.btrfs -O ^bgt".
The root cause is explained and fixed in the second last patch.
The first 7 patches are mostly preparation and cleanup for properly
intorduce block group tree at temprory fs creation time.
Qu Wenruo (9):
btrfs-progs: convert: add feature dependency checks for bgt
btrfs-progs: convert: replace the bytenr check with a UASSERT()
btrfs-progs: convert: simplify insert_temp_root_item()
btrfs-progs: convert: simplify insert_temp_dev_item() and
insert_temp_chunk_item()
btrfs-progs: convert: simplify insert_temp_dev_extent()
btrfs-progs: convert: simplify insert_temp_extent_item() and
insert_temp_block_group()
btrfs-progs: convert: merge setup_temp_fs_tree() and
setup_temp_csum_tree()
btrfs-progs: convert: implement the block group tree support properly
btrfs-progs: convert-tests: add a test case for bgt feature
convert/common.c | 337 +++++++++---------
convert/main.c | 6 +
.../028-block-group-tree/test.sh | 20 ++
3 files changed, 201 insertions(+), 162 deletions(-)
create mode 100755 tests/convert-tests/028-block-group-tree/test.sh
--
2.49.0
next reply other threads:[~2025-05-24 2:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-24 2:08 Qu Wenruo [this message]
2025-05-24 2:08 ` [PATCH 1/9] btrfs-progs: convert: add feature dependency checks for bgt Qu Wenruo
2025-05-24 2:08 ` [PATCH 2/9] btrfs-progs: convert: replace the bytenr check with a UASSERT() Qu Wenruo
2025-05-24 2:08 ` [PATCH 3/9] btrfs-progs: convert: simplify insert_temp_root_item() Qu Wenruo
2025-05-24 2:08 ` [PATCH 4/9] btrfs-progs: convert: simplify insert_temp_dev_item() and insert_temp_chunk_item() Qu Wenruo
2025-05-24 2:08 ` [PATCH 5/9] btrfs-progs: convert: simplify insert_temp_dev_extent() Qu Wenruo
2025-05-24 2:08 ` [PATCH 6/9] btrfs-progs: convert: simplify insert_temp_extent_item() and insert_temp_block_group() Qu Wenruo
2025-05-24 2:08 ` [PATCH 7/9] btrfs-progs: convert: merge setup_temp_fs_tree() and setup_temp_csum_tree() Qu Wenruo
2025-05-24 2:08 ` [PATCH 8/9] btrfs-progs: convert: implement the block group tree support properly Qu Wenruo
2025-05-24 2:08 ` [PATCH 9/9] btrfs-progs: convert-tests: add a test case for bgt feature Qu Wenruo
2025-05-30 20:07 ` [PATCH 0/9] btrfs-progs: convert: fix a long bug that bgt feature never works David Sterba
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.1748049973.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.