btrfs-progs/check
Qu Wenruo fc38ae7f48 btrfs-progs: check: detect and warn about tree blocks crossing 64K page boundary
For the incoming subpage support, there is a new requirement for tree
blocks.  Tree blocks should not cross 64K page boundary.

For current btrfs-progs and kernel, there shouldn't be any causes to
create such tree blocks.  But still, we want to detect such tree blocks
in the wild before subpage support fully lands in upstream.

This patch will add such check for both lowmem and original mode.
Currently it's just a warning, since there aren't many users using 64K
page size yet.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2021-02-19 15:24:42 +01:00
..
common.h btrfs-progs: move ctree.c to kernel-shared/ 2020-08-31 17:01:05 +02:00
main.c btrfs-progs: check: detect and warn about tree blocks crossing 64K page boundary 2021-02-19 15:24:42 +01:00
mode-common.c btrfs-progs: check: properly exclude leaves for lowmem mode 2021-01-13 22:33:10 +01:00
mode-common.h btrfs-progs: check: detect and warn about tree blocks crossing 64K page boundary 2021-02-19 15:24:42 +01:00
mode-lowmem.c btrfs-progs: check: detect and warn about tree blocks crossing 64K page boundary 2021-02-19 15:24:42 +01:00
mode-lowmem.h btrfs-progs: check: drop unused fs_info 2020-08-31 17:01:03 +02:00
mode-original.h btrfs-progs: check/original: Add check and repair for invalid inode generation 2019-11-18 19:21:07 +01:00
qgroup-verify.c btrfs-progs: move transaction.c to kernel-shared/ 2020-08-31 17:01:06 +02:00
qgroup-verify.h btrfs-progs: move ctree.c to kernel-shared/ 2020-08-31 17:01:05 +02:00