]> git.ipfire.org Git - thirdparty/linux.git/commit
iomap: invert the polarity of IOMAP_DIO_INLINE_COMP
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Nov 2025 17:06:30 +0000 (18:06 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 25 Nov 2025 09:22:19 +0000 (10:22 +0100)
commit76192a42c210cd6f85d9556a0ca87263b66680d6
treeffb9d9134b64dbf44a37aa15fb6da44afa17359d
parenteca9dc20891de4ce6b7f012ac157ca6f8fa12ce4
iomap: invert the polarity of IOMAP_DIO_INLINE_COMP

Replace IOMAP_DIO_INLINE_COMP with a flag to indicate that the
completion should be offloaded.  This removes a tiny bit of boilerplate
code, but more importantly just makes the code easier to follow as this
new flag gets set most of the time and only cleared in one place, while
it was the inverse for the old version.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20251113170633.1453259-6-hch@lst.de
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/iomap/direct-io.c