]> www.infradead.org Git - users/hch/misc.git/commit
iomap: support ioends for reads
authorChristoph Hellwig <hch@lst.de>
Fri, 31 Jan 2025 16:23:08 +0000 (17:23 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 3 Feb 2025 09:21:33 +0000 (10:21 +0100)
commitda5270dc0720e540e0f6a987b6b31bb82e95bf6a
tree9129bfedea4d25cb255f49eb95cf5ab7897022c5
parentd252e44b4b7c7f8c1b6b57d19473a75e9cd2aaac
iomap: support ioends for reads

Support using the ioend structure to defer I/O completion for
reads in addition to writes.  This requires a check for the operation
to not merge reads and writes, and for buffere I/O a call into the
buffered read I/O completion handler from iomap_finish_ioend.  For
direct I/O the existing call into the direct I/O completion handler
handles reads just fine already.

Signed-off-by: Christoph Hellwig <hch@lst.de>
fs/iomap/buffered-io.c
fs/iomap/internal.h
fs/iomap/ioend.c