diff options
| author | Qu Wenruo <wqu@suse.com> | 2026-07-31 10:14:50 +0930 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-08-07 19:17:19 +0200 |
| commit | 6003c20dbd87ec5ab68ef9c1872096b4915ab195 (patch) | |
| tree | b6df4cd9eff59c4d99978a3a1f607e5b5a8d23fe /scripts/Makefile.thinlto | |
| parent | 536e94a4c347d26aaac0bb1a2ef879d0743ac234 (diff) | |
| download | linux-stable-6003c20dbd87ec5ab68ef9c1872096b4915ab195.tar.gz linux-stable-6003c20dbd87ec5ab68ef9c1872096b4915ab195.zip | |
btrfs: add extra ASSERT()s to make sure the folio size is correct
Inspired by the previous crash exposed by generic/795, we want to make
sure every folio from btrfs page cache is properly aligned to block
size.
This is especially important for bs > ps support, as every btrfs
infrastructure, e.g. extent map and extent state, requires strong block
alignment checks.
Furthermore, also output the minimal folio order from the inode mapping,
which is the determining factor during debugging, helping a lot pinning
down the final cause.
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
