diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-12-14 16:13:30 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-04 16:24:45 +0100 |
commit | 03fbf77a2c963d5b8173edc56d995465fb6fb38c (patch) | |
tree | f7d3de6be43cc0d2729150f82dca51437aca9794 /tools/perf/scripts/python | |
parent | dfba9f47730604a46c284f6099a11c5686b6289d (diff) |
btrfs: convert defrag_prepare_one_page() to use a folio
Use a folio throughout defrag_prepare_one_page() to remove dozens of
hidden calls to compound_head(). There is no support here for large
folios; indeed, turn the existing check for PageCompound into a check
for large folios.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions