public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] btrfs-progs: convert: fix a long bug that bgt feature never works
@ 2025-05-24  2:08 Qu Wenruo
  2025-05-24  2:08 ` [PATCH 1/9] btrfs-progs: convert: add feature dependency checks for bgt Qu Wenruo
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Qu Wenruo @ 2025-05-24  2:08 UTC (permalink / raw)
  To: linux-btrfs

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


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

end of thread, other threads:[~2025-05-30 20:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-24  2:08 [PATCH 0/9] btrfs-progs: convert: fix a long bug that bgt feature never works Qu Wenruo
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

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