Skip to content
Commit bee1d5be authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: disable io-wq execution of multishot NOWAIT requests



Do the same check for direct io-wq execution for multishot requests that
commit 2a975d42 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: default avatarJens Axboe <axboe@kernel.dk>
parent 2a975d42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment