diff options
author | Qu Wenruo <wqu@suse.com> | 2021-04-13 09:23:14 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2021-06-21 16:19:08 +0300 |
commit | 0044ae11e8be86b5e39857d47017417d4cda00f2 (patch) | |
tree | eb4be5717c971b107193db49867378a0343c8bbe /fs/btrfs/volumes.h | |
parent | 8df507cbb5952719353c912a021b66c27641e90c (diff) | |
download | linux-0044ae11e8be86b5e39857d47017417d4cda00f2.tar.xz |
btrfs: make free space cache size consistent across different PAGE_SIZE
Currently free space cache inode size is determined by two factors:
- block group size
- PAGE_SIZE
This means, for the same sized block groups, with different PAGE_SIZE,
it will result in different inode sizes.
This will not be a good thing for subpage support, so change the
requirement for PAGE_SIZE to sectorsize.
Now for the same 4K sectorsize btrfs, it should result the same inode
size no matter what the PAGE_SIZE is.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.h')
0 files changed, 0 insertions, 0 deletions