diff options
| author | Jens Axboe <[email protected]> | 2020-09-02 15:30:31 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-09-02 16:20:41 +0000 |
| commit | 355afaeb578abac907217c256a844cfafb0337b2 (patch) | |
| tree | ee49225444e80e0940697321d98a53be221271bc /drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c | |
| parent | io_uring: set table->files[i] to NULL when io_sqe_file_register failed (diff) | |
| download | kernel-355afaeb578abac907217c256a844cfafb0337b2.tar.gz kernel-355afaeb578abac907217c256a844cfafb0337b2.zip | |
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: [email protected]
Reported-by: Norman Maurer <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c')
0 files changed, 0 insertions, 0 deletions
