diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-04-01 20:30:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-17 12:23:35 +0300 |
commit | 47de1a773e940ac9a62f3cb19e35d64aeb61793c (patch) | |
tree | 66e5d58ad6aa35f4a09074d74adaf4719ec72941 /fs | |
parent | f0194e4a9e59627838dfdf8214d1734394c3783a (diff) | |
download | linux-47de1a773e940ac9a62f3cb19e35d64aeb61793c.tar.xz |
io_uring: disable io-wq execution of multishot NOWAIT requests
Commit bee1d5becdf5bf23d4ca0cd9c6b60bdf3c61d72b upstream.
Do the same check for direct io-wq execution for multishot requests that
commit 2a975d426c82 did for the inline execution, and disable multishot
mode (and revert to single shot) if the file type doesn't support NOWAIT,
and isn't opened in O_NONBLOCK mode. For multishot to work properly, it's
a requirement that nonblocking read attempts can be done.
Cc: stable@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions