aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2025-07-16 08:13:06 +0000
committerDavid Sterba <[email protected]>2025-07-21 23:13:03 +0000
commitcec780a139f3d361973d798e918576b707fd5a3c (patch)
treeaea80f815bfbd5656d7b84658dc8a77bf4467908 /fs/btrfs/tree-log.c
parentbtrfs: reloc: unconditionally invalidate the page cache for each cluster (diff)
downloadkernel-cec780a139f3d361973d798e918576b707fd5a3c.tar.gz
kernel-cec780a139f3d361973d798e918576b707fd5a3c.zip
btrfs: output more info when btrfs_subpage_assert() failed
The function btrfs_subpage_assert() is a very commonly utilized assert to make sure the range passed in is correct inside the folio. And when some code is not properly subpage/large folio compatible btrfs_subpage_assert() will be the first to be triggered. E.g. when I incorrectly enabled large folios for data reloc inodes, it immediately triggered btrfs_subpage_assert(). In that case, outputting all the involved members will be very helpful, this includes: - start - len - folio position inside the mapping - folio size Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions