Skip to content

btrfs-progs: make subpage warnings more strict

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs-progs: tests: also check subpage warning for type 2 test casestests/common+12 -22 replies
2/3btrfs-progs: tests: don't check subpage related warnings for fsck type 1 teststests/fsck-tests.sh+8 -10 replies
3/3btrfs-progs: require full nodesize alignement for subpage supportcheck/main.c check/mode-common.h check/mode-lowmem.c +1 more+18 -120 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] btrfs-progs: make subpage warnings more strict

For the incoming support of more page sizes for subpage RW mount, we will require tree blocks to be nodesize aligned.

This patch prepare such restrict warnings for btrfs-check and update self-tests to handle them.

Currently all convert/fsck/misc can pass except one unrelated regression, fsck/025, which is caused by "btrfs-progs: Drop the type check in init_alloc_chunk_ctl_policy_regular".

All fsck images except fsck/018 are newer enough to have all their tree blocks nodesize aligned, so they won't cause any new warnings. But still, for read-only tests, we will skip the subpage warnings as we only want to ensure our writes from btrfs-progs won't cause new subpage warnings.

Qu Wenruo (3):
btrfs-progs: tests: also check subpage warning for type 2 test cases
btrfs-progs: tests: don't check subpage related warnings for fsck type
1 tests
btrfs-progs: require full nodesize alignement for subpage support

 check/main.c        |  3 ++-
 check/mode-common.h | 22 +++++++++++++---------
 check/mode-lowmem.c |  3 ++-
 tests/common        | 16 +++++++++++++---
 tests/fsck-tests.sh |  9 ++++++++-
 5 files changed, 38 insertions(+), 15 deletions(-)
Signature · 1 line
2.32.0