diff options
| author | Pavel Begunkov <[email protected]> | 2025-02-19 01:33:37 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-02-19 20:42:22 +0000 |
| commit | 67b0025d19f99fb9fbb8b62e6975553c183f3a16 (patch) | |
| tree | 260d8ba69f752acbfcf6b061249e28d8ffe8a20f /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | io_uring/rsrc: remove unused constants (diff) | |
| download | kernel-67b0025d19f99fb9fbb8b62e6975553c183f3a16.tar.gz kernel-67b0025d19f99fb9fbb8b62e6975553c183f3a16.zip | |
io_uring/rw: forbid multishot async reads
At the moment we can't sanely handle queuing an async request from a
multishot context, so disable them. It shouldn't matter as pollable
files / socekts don't normally do async.
Patching it in __io_read() is not the cleanest way, but it's simpler
than other options, so let's fix it there and clean up on top.
Cc: [email protected]
Reported-by: chase xd <[email protected]>
Fixes: fc68fcda04910 ("io_uring/rw: add support for IORING_OP_READ_MULTISHOT")
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/7d51732c125159d17db4fe16f51ec41b936973f8.1739919038.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
