Skip to content

btrfs-progs: add new precaution check for incoming subpage support

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs-progs: check: detect and warn about tree blocks cross 64K page boundarycheck/main.c check/mode-common.h check/mode-lowmem.c+22 -04 replies
2/2btrfs-progs: tests: check the result log for critical warningstests/common tests/convert-tests.sh tests/fsck-tests.sh +2 more+16 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] btrfs-progs: add new precaution check for incoming subpage support

For the incoming subpage support, we need to ensure no tree block could cross 64K page boundary.

Currently both kernel and btrfs-progs won't create such tree blocks, but still add such check as non-critical warning to catch any ancient btrfs in the wild.

Also enhance the existing test cases to catch the warning message just in case we miss something.

Qu Wenruo (2):
btrfs-progs: check: detect and warn about tree blocks cross 64K page
boundary
btrfs-progs: tests: check the result log for critical warnings

 check/main.c           |  2 ++
 check/mode-common.h    | 18 ++++++++++++++++++
 check/mode-lowmem.c    |  2 ++
 tests/common           | 12 ++++++++++++
 tests/convert-tests.sh |  1 +
 tests/fsck-tests.sh    |  1 +
 tests/misc-tests.sh    |  1 +
 tests/mkfs-tests.sh    |  1 +
 8 files changed, 38 insertions(+)
Signature · 1 line
2.29.2