Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs-progs: fix the overly strict chunk type check on dump-tree
@ 2026-05-29  9:36 Qu Wenruo
  2026-05-29  9:36 ` [PATCH 1/2] btrfs-progs: dump-tree: fix the chunk type check for system chunks Qu Wenruo
  2026-05-29  9:36 ` [PATCH 2/2] btrfs-progs: misc-tests: add a regression test case for dump tree Qu Wenruo
  0 siblings, 2 replies; 3+ messages in thread
From: Qu Wenruo @ 2026-05-29  9:36 UTC (permalink / raw)
  To: linux-btrfs

Commit 408e45feb325 ("btrfs-progs: dump-tree: add extra chunk type
checks") introduced a chunk type check before dumping the tree.

However it's too strict as I'm a total idiot, and forgot to we still
need to dump chunk tree blocks.

Fix it and add a regression test.

Qu Wenruo (2):
  btrfs-progs: dump-tree: fix the chunk type check for system chunks
  btrfs-progs: misc-tests: add a regression test case for dump tree

 cmds/inspect-dump-tree.c                      |  5 ++--
 .../072-dump-tree-chunk-bytenr/test.sh        | 25 +++++++++++++++++++
 2 files changed, 28 insertions(+), 2 deletions(-)
 create mode 100755 tests/misc-tests/072-dump-tree-chunk-bytenr/test.sh

--
2.54.0


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

end of thread, other threads:[~2026-05-29  9:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-29  9:36 [PATCH 0/2] btrfs-progs: fix the overly strict chunk type check on dump-tree Qu Wenruo
2026-05-29  9:36 ` [PATCH 1/2] btrfs-progs: dump-tree: fix the chunk type check for system chunks Qu Wenruo
2026-05-29  9:36 ` [PATCH 2/2] btrfs-progs: misc-tests: add a regression test case for dump tree Qu Wenruo

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