iomap: add IOMAP_DIO_INLINE_COMP
authorJens Axboe <axboe@kernel.dk>
Wed, 19 Jul 2023 17:21:09 +0000 (11:21 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 21 Jul 2023 15:30:52 +0000 (09:30 -0600)
commit191427c5ea760edefc77de6f25619e78ac595ca0
tree0e295bcbfb46efa6f71142dceffac899d18adfb9
parent062ef9f4932e626e010e5fe0791e4f1a8effdba2
iomap: add IOMAP_DIO_INLINE_COMP

Rather than gate whether or not we need to punt a dio completion to a
workqueue on whether the IO is a write or not, add an explicit flag for
it. For now we treat them the same, reads always set the flags and async
writes do not.

No functional changes in this patch.

Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/iomap/direct-io.c