Home
last modified time | relevance | path

Searched hist:"0044 ae11e8be86b5e39857d47017417d4cda00f2" (Results 1 – 1 of 1) sorted by relevance

/linux/fs/btrfs/
H A Dblock-group.cdiff 0044ae11e8be86b5e39857d47017417d4cda00f2 Tue Apr 13 08:23:14 CEST 2021 Qu Wenruo <wqu@suse.com> 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>