diff options
| author | Tal Zussman <tz2294@columbia.edu> | 2026-09-07 16:19:56 -0400 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-10-12 19:16:20 +0200 |
| commit | a6f0c4b59ddb252d45e5027fec5c5a929e50f5a8 (patch) | |
| tree | e13f5c544a50113b09ca574dbf6eae289f8963f6 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 9ef5239d53e1f18a038358481d4cc3448e98d652 (diff) | |
| download | linux-a6f0c4b59ddb252d45e5027fec5c5a929e50f5a8.tar.gz linux-a6f0c4b59ddb252d45e5027fec5c5a929e50f5a8.zip | |
btrfs: tests: convert test_find_delalloc() to use folios
This removes the last btrfs callers of find_or_create_page(),
find_lock_page(), SetPageDirty(), ClearPageDirty(), and get_page(), and
15 calls to compound_head(). The folio lookups return an ERR_PTR instead
of NULL, so adjust the error handling.
Update the comments and test messages accordingly.
The test still works in PAGE_SIZE units, which relies on the test inode
never getting large folios, so assert that the folios are order-0 where
that matters.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Tal Zussman <tz2294@columbia.edu>
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
