aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-log.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2025-09-01 07:55:00 +0930
committerDavid Sterba <dsterba@suse.com>2025-09-23 08:49:17 +0200
commitea77a1c1c78942578a2f6995d60757c34fe50980 (patch)
tree08ede81f23d6e44806b82ed2532eef15b09e6bd0 /fs/btrfs/tree-log.c
parentbtrfs: introduce btrfs_bio_for_each_block_all() helper (diff)
downloadlinux-ea77a1c1c78942578a2f6995d60757c34fe50980.tar.gz
linux-ea77a1c1c78942578a2f6995d60757c34fe50980.zip
btrfs: cache max and min order inside btrfs_fs_info
Inside btrfs_fs_info we cache several bits shift like sectorsize_bits. Apply this to max and min folio orders so that every time mapping order needs to be applied we can skip the calculation. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions