aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorQu Wenruo <[email protected]>2021-05-31 16:50:53 +0800
committerDavid Sterba <[email protected]>2021-06-21 15:19:10 +0200
commit3115deb381e9242527017700cc7a946799d3af25 (patch)
treeb6e474e2398b0ef0ecdc5cfb20ed46d7e7a40fb5 /tools/perf/scripts/python/stackcollapse.py
parent2d8ec40ee46d211fa8396678210faf19e013b093 (diff)
btrfs: reflink: make copy_inline_to_page() to be subpage compatible
The modifications are: - Page copy destination For subpage case, one page can contain multiple sectors, thus we can no longer expect the memcpy_to_page()/btrfs_decompress() to copy data into page offset 0. The correct offset is offset_in_page(file_offset) now, which should handle both regular sectorsize and subpage cases well. - Page status update Now we need to use subpage helper to handle the page status update. Tested-by: Ritesh Harjani <[email protected]> # [ppc64] Tested-by: Anand Jain <[email protected]> # [aarch64] Signed-off-by: Qu Wenruo <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions