diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-09-02 18:30:31 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-02 19:20:41 +0300 |
commit | 355afaeb578abac907217c256a844cfafb0337b2 (patch) | |
tree | ee49225444e80e0940697321d98a53be221271bc /net/unix/af_unix.c | |
parent | 95d1c8e5f801e959a89181a2548a3efa60a1a6ce (diff) | |
download | linux-355afaeb578abac907217c256a844cfafb0337b2.tar.xz |
io_uring: no read/write-retry on -EAGAIN error and O_NONBLOCK marked file
Actually two things that need fixing up here:
- The io_rw_reissue() -EAGAIN retry is explicit to block devices and
regular files, so don't ever attempt to do that on other types of
files.
- If we hit -EAGAIN on a nonblock marked file, don't arm poll handler for
it. It should just complete with -EAGAIN.
Cc: stable@vger.kernel.org
Reported-by: Norman Maurer <norman.maurer@googlemail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions