]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iomap: advance the iter on direct I/O
authorBrian Foster <bfoster@redhat.com>
Mon, 24 Feb 2025 14:47:47 +0000 (09:47 -0500)
committerChristian Brauner <brauner@kernel.org>
Wed, 26 Feb 2025 08:42:35 +0000 (09:42 +0100)
commit8fecec46d10bafbce5d511c764ae2c2061b9adda
treecad6ce59a178f139c3ec098d851881b95662ddd3
parentd9dc477ff6a25c3812be2b24d81add8e6561c6ed
iomap: advance the iter on direct I/O

Update iomap direct I/O to advance the iter directly rather than via
iter.processed. Update each mapping type helper to advance based on
the amount of data processed and return success or failure.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Link: https://lore.kernel.org/r/20250224144757.237706-3-bfoster@redhat.com
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/iomap/direct-io.c