diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-12-14 19:13:30 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-04 18:24:45 +0300 |
commit | 03fbf77a2c963d5b8173edc56d995465fb6fb38c (patch) | |
tree | f7d3de6be43cc0d2729150f82dca51437aca9794 /fs/btrfs/dev-replace.c | |
parent | dfba9f47730604a46c284f6099a11c5686b6289d (diff) | |
download | linux-03fbf77a2c963d5b8173edc56d995465fb6fb38c.tar.xz |
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 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions