diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-12-14 16:13:31 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-03-04 16:24:45 +0100 |
commit | fae9cd252f889f006326e126906e879451040a5f (patch) | |
tree | 59b0745364f53e96b85cf9d3763abbe1aeed965c /tools/perf/scripts/python/stackcollapse.py | |
parent | 03fbf77a2c963d5b8173edc56d995465fb6fb38c (diff) |
btrfs: use a folio array throughout the defrag process
Remove more hidden calls to compound_head() by using an array of folios
instead of pages. Also neaten the error path in defrag_one_range() by
adjusting the length of the array instead of checking for NULL.
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions