• Jens Axboe's avatar
    io_uring: disable io-wq execution of multishot NOWAIT requests · bee1d5be
    Jens Axboe authored
    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>
    bee1d5be
io_uring.c 111 KB