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>
Wed, 19 Jul 2023 19:12:04 +0000 (13:12 -0600)
commitd3b76ea0c5a4c51a328a3709dac143801b8353be
treeeee53d972d3ff5f9ed78ebb472918884c3e345ea
parent2f82a289b3ebcfc4ade72b7f71a40310b58bd8e3
iomap: add IOMAP_DIO_INLINE_COMP

Rather than gate whether or not we need to punt a dio completion to a
workqueue, 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.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/iomap/direct-io.c