diff options
| author | Tal Zussman <tz2294@columbia.edu> | 2026-09-07 16:19:57 -0400 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-10-12 19:16:20 +0200 |
| commit | 768906912413ca1acbc0144a4863bbda4efc49c7 (patch) | |
| tree | c54fd4b1a3f6609d8274a78d34a52bbce9de004b /tools/perf/scripts/python | |
| parent | a6f0c4b59ddb252d45e5027fec5c5a929e50f5a8 (diff) | |
| download | linux-768906912413ca1acbc0144a4863bbda4efc49c7.tar.gz linux-768906912413ca1acbc0144a4863bbda4efc49c7.zip | |
btrfs: tests: use eb folio helpers in extent buffer memory checks
dump_eb_and_memory_contents() and verify_eb_and_memory() hardcode one
page per folio instead of using get_eb_folio_index() and
get_eb_offset_in_folio() like the rest of the extent buffer code. Use
the helpers and folio_address(). This removes the last struct page usage
in the file.
No functional change. The tests only run with sectorsize == PAGE_SIZE,
and the test extent buffers are backed by order-0 folios.
Assisted-by: Claude:claude-fable-5-1
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')
0 files changed, 0 insertions, 0 deletions
