commit | 75c668cdd6ca05dd9c7138a5a080c0088d72cf51 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Feb 04 13:52:05 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Feb 04 08:05:46 2021 -0700 |
tree | b33682b52d0be846be9719da13a93217901630a1 | |
parent | b23df91bff954ebd8aee39eb22e5028f41cd9e56 [diff] |
io_uring: treat NONBLOCK and RWF_NOWAIT similarly Make decision making of whether we need to retry read/write similar for O_NONBLOCK and RWF_NOWAIT. Set REQ_F_NOWAIT when either is specified and use it for all relevant checks. Also fix resubmitting NOWAIT requests via io_rw_reissue(). Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>