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 14:04:57 +0000 (08:04 -0600)
commitf83c0b1cea07b06268267203a130aafce837796e
tree0e295bcbfb46efa6f71142dceffac899d18adfb9
parent392b638ff96f198b56b2235f2ca0a41a304a190b
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: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/iomap/direct-io.c