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

io_uring: allow O_NONBLOCK async retry



We can assume that O_NONBLOCK is always honored, even if we don't
have a ->read/write_iter() for the file type. Also unify the read/write
checking for allowing async punt, having the write side factoring in the
REQ_F_NOWAIT flag as well.

Cc: stable@vger.kernel.org
Fixes: 490e8967 ("io_uring: only force async punt if poll based retry can't handle it")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent f5fa38c5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment