diff options
author | Qu Wenruo <wqu@suse.com> | 2025-03-10 06:16:10 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-03-18 22:35:52 +0300 |
commit | cb3c11d2f5e11e274095fc162669c8d2b7a77944 (patch) | |
tree | a8c0da22e0ee12ae3cc035ab4664d55d53df83a9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4c14d5c85503da0a21540b1fb80bf5abb723f16e (diff) | |
download | linux-cb3c11d2f5e11e274095fc162669c8d2b7a77944.tar.xz |
btrfs: add a size parameter to btrfs_alloc_subpage()
Since we can no longer assume page sized folio for data filemap folios,
allow btrfs_alloc_subpage() to accept a new parameter, @fsize,
indicating the folio size.
This doesn't follow the regular behavior of passing a folio directly,
because this function is shared by both data and metadata folios, and
for metadata folios we have extra allocation policy to ensure no large
folios whose sizes are larger than nodesize (unless it's page sized).
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions