Jens Axboe c5b856255c 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>
2020-06-09 19:38:24 -06:00
..
2020-03-27 09:29:56 +00:00
2020-06-01 12:10:17 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 10:59:07 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
\n
2020-01-30 15:37:41 -08:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-06-02 15:29:19 -07:00
2020-05-14 16:44:24 +02:00
2020-06-02 15:37:03 -07:00
2020-05-14 16:44:25 +02:00
2020-06-02 15:29:19 -07:00
2020-02-07 14:48:35 -05:00
2020-04-20 15:45:41 -06:00
2020-06-02 15:42:50 -07:00
2020-03-05 21:00:40 -05:00
2020-05-14 16:44:24 +02:00
2020-03-12 17:33:11 -07:00
2020-05-14 16:44:24 +02:00
2020-06-02 15:42:50 -07:00
2020-06-02 15:42:50 -07:00
2020-06-02 15:29:19 -07:00
2020-05-14 16:44:24 +02:00
2020-04-09 15:33:09 -04:00