diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-06-09 19:23:05 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-06-09 19:38:24 -0600 |
commit | c5b856255cbc3b664d686a83fa9397a835e063de (patch) | |
tree | b07a4c3d289efb1e3963741f2a986dd1ca41a002 /include/net | |
parent | f5fa38c59cb0b40633dee5cdf7465801be3e4928 (diff) | |
download | linux-c5b856255cbc3b664d686a83fa9397a835e063de.tar.gz linux-c5b856255cbc3b664d686a83fa9397a835e063de.tar.bz2 linux-c5b856255cbc3b664d686a83fa9397a835e063de.zip |
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: 490e89676a52 ("io_uring: only force async punt if poll based retry can't handle it")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions