summaryrefslogtreecommitdiff
path: root/fs/btrfs/compression.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2024-08-26 09:14:50 +0300
committerDavid Sterba <dsterba@suse.com>2024-09-10 17:51:18 +0300
commitce4a71ee157e810ec28ad44e8148dfc55e77d4a0 (patch)
treed277ec6ecdaf9081ae2626d2d9f868213d12067c /fs/btrfs/compression.c
parent2c70fe16ea0c0d3f08659fc9d75b4840711fee05 (diff)
downloadlinux-ce4a71ee157e810ec28ad44e8148dfc55e77d4a0.tar.xz
btrfs: subpage: remove btrfs_fs_info::subpage_info member
The member btrfs_fs_info::subpage_info stores the cached bitmap start position inside the merged bitmap. However in reality there is only one thing depending on the sectorsize, bitmap_nr_bits, which records the number of sectors that fit inside a page. The sequence of sub-bitmaps have fixed order, thus it's just a quick multiplication to calculate the start position of each sub-bitmaps. 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/compression.c')
0 files changed, 0 insertions, 0 deletions