diff options
| author | Brian Foster <bfoster@redhat.com> | 2025-02-24 17:47:46 +0300 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-02-26 11:42:35 +0300 |
| commit | d9dc477ff6a25c3812be2b24d81add8e6561c6ed (patch) | |
| tree | fa0cd8289018f980810ac5699ee1aa3b1b53d402 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 30f530096166202cf70e1b7d1de5a8cdfba42af1 (diff) | |
| download | linux-d9dc477ff6a25c3812be2b24d81add8e6561c6ed.tar.xz | |
iomap: advance the iter directly on buffered read
iomap buffered read advances the iter via iter.processed. To
continue separating iter advance from return status, update
iomap_readpage_iter() to advance the iter instead of returning the
number of bytes processed. In turn, drop the offset parameter and
sample the updated iter->pos at the start of the function. Update
the callers to loop based on remaining length in the current
iteration instead of number of bytes processed.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Link: https://lore.kernel.org/r/20250224144757.237706-2-bfoster@redhat.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
