summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2020-12-02 14:48:03 +0800
committerDavid Sterba <dsterba@suse.com>2020-12-09 19:16:10 +0100
commit4a3dc93843dd6ee17c68231d6a90c76231cb65fc (patch)
tree03e45e4b704f8b4407936b8f9fe5acce487611e5 /fs/btrfs/ctree.c
parent1aaac38c83a23cd31df551b3f84d3c7f5067a7fe (diff)
downloadlinux-4a3dc93843dd6ee17c68231d6a90c76231cb65fc.tar.bz2
btrfs: update num_extent_pages to support subpage sized extent buffer
For subpage sized extent buffer, we have ensured no extent buffer will cross page boundary, thus we would only need one page for any extent buffer. Update function num_extent_pages to handle such case. Now num_extent_pages() returns 1 for subpage sized extent buffer. Reviewed-by: Nikolay Borisov <nborisov@suse.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 'fs/btrfs/ctree.c')
0 files changed, 0 insertions, 0 deletions