diff options
author | 2025-02-07 09:32:46 -0500 | |
---|---|---|
committer | 2025-02-10 12:46:33 +0100 | |
commit | f4799838662340b3e53da8ff6bcabac743d80f17 (patch) | |
tree | 73c4aaa7cdf603146c6f1b044c3f9c12a766c4ea /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iomap: split out iomap check and reset logic from iter advance (diff) | |
download | wireguard-linux-f4799838662340b3e53da8ff6bcabac743d80f17.tar.xz wireguard-linux-f4799838662340b3e53da8ff6bcabac743d80f17.zip |
iomap: refactor iomap_iter() length check and tracepoint
iomap_iter() checks iomap.length to skip individual code blocks not
appropriate for the initial case where there is no mapping in the
iter. To prepare for upcoming changes, refactor the code to jump
straight to the ->iomap_begin() handler in the initial case and move
the tracepoint to the top of the function so it always executes.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Link: https://lore.kernel.org/r/20250207143253.314068-4-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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions