summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJoanne Koong <joannelkoong@gmail.com>2025-09-26 03:26:03 +0300
committerChristian Brauner <brauner@kernel.org>2025-11-05 14:57:23 +0300
commitfb7a10ac4704fe2df12fcc560c0b49a69e016af0 (patch)
tree9df8126c0745d04997bd71cb0f0c982e6d11bc59 /tools/perf/scripts/python
parentd43558ae67299266ea54715773610fdec4291c90 (diff)
downloadlinux-fb7a10ac4704fe2df12fcc560c0b49a69e016af0.tar.xz
iomap: set accurate iter->pos when reading folio ranges
Advance iter to the correct position before calling an IO helper to read in a folio range. This allows the helper to reliably use iter->pos to determine the starting offset for reading. This will simplify the interface for reading in folio ranges when iomap read/readahead supports caller-provided callbacks. Signed-off-by: Joanne Koong <joannelkoong@gmail.com> Suggested-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions