]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dax: advance the iomap_iter in the read/write path
authorBrian Foster <bfoster@redhat.com>
Mon, 24 Feb 2025 14:47:49 +0000 (09:47 -0500)
committerChristian Brauner <brauner@kernel.org>
Wed, 26 Feb 2025 08:42:36 +0000 (09:42 +0100)
commite1e6bae60732d1aea4f583a23794306a952bb76d
treea35ada3973313dab029666b278a75de1a64b7c44
parentf145377da150b9606f3d51d66b03eca86514ea27
dax: advance the iomap_iter in the read/write path

DAX reads and writes flow through dax_iomap_iter(), which has one or
more subtleties in terms of how it processes a range vs. what is
specified in the iomap_iter. To keep things simple and remove the
dependency on iomap_iter() advances, convert a positive return from
dax_iomap_iter() to the new advance and status return semantics. The
advance can be pushed further down in future patches.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Link: https://lore.kernel.org/r/20250224144757.237706-5-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>
fs/dax.c