diff options
| author | Jens Axboe <[email protected]> | 2020-09-05 04:36:52 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-09-05 15:02:47 +0000 |
| commit | c183edff33fdcd639d222a8f473bf44602adc655 (patch) | |
| tree | 9a72c031a6b97bb8699c123e458a9b7daeda273a /drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c | |
| parent | io_uring: no read/write-retry on -EAGAIN error and O_NONBLOCK marked file (diff) | |
| download | kernel-c183edff33fdcd639d222a8f473bf44602adc655.tar.gz kernel-c183edff33fdcd639d222a8f473bf44602adc655.zip | |
io_uring: fix explicit async read/write mapping for large segments
If we exceed UIO_FASTIOV, we don't handle the transition correctly
between an allocated vec for requests that are queued with IOSQE_ASYNC.
Store the iovec appropriately and re-set it in the iter iov in case
it changed.
Fixes: ff6165b2d7f6 ("io_uring: retain iov_iter state over io_read/io_write calls")
Reported-by: Nick Hill <[email protected]>
Tested-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
