All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] btrfs-progs: make subpage warnings more strict
@ 2021-08-18  6:44 Qu Wenruo
  2021-08-18  6:44 ` [PATCH 1/3] btrfs-progs: tests: also check subpage warning for type 2 test cases Qu Wenruo
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Qu Wenruo @ 2021-08-18  6:44 UTC (permalink / raw)
  To: linux-btrfs

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(-)

-- 
2.32.0


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

end of thread, other threads:[~2021-08-20 12:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-18  6:44 [PATCH 0/3] btrfs-progs: make subpage warnings more strict Qu Wenruo
2021-08-18  6:44 ` [PATCH 1/3] btrfs-progs: tests: also check subpage warning for type 2 test cases Qu Wenruo
2021-08-18 18:12   ` David Sterba
2021-08-20 12:42   ` David Sterba
2021-08-18  6:44 ` [PATCH 2/3] btrfs-progs: tests: don't check subpage related warnings for fsck type 1 tests Qu Wenruo
2021-08-18  6:44 ` [PATCH 3/3] btrfs-progs: require full nodesize alignement for subpage support Qu Wenruo
2021-08-20 12:46 ` [PATCH 0/3] btrfs-progs: make subpage warnings more strict David Sterba

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.