]> www.infradead.org Git - users/hch/misc.git/commit
iomap: support ioends for reads
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Aug 2025 14:16:59 +0000 (07:16 -0700)
committerChristoph Hellwig <hch@lst.de>
Tue, 2 Sep 2025 06:40:59 +0000 (08:40 +0200)
commit2796fb87fea1f025330c64dd2a15ed095911d34f
treefe92027d82b064b311b325a395e98be301279c00
parent047473e5a41889caa629fe956be9aad44a7dbd8e
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