Skip to content
Commit 704ea888 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring/poll: add requeue return code from poll multishot handling



Since our poll handling is edge triggered, multishot handlers retry
internally until they know that no more data is available. In
preparation for limiting these retries, add an internal return code,
IOU_REQUEUE, which can be used to inform the poll backend about the
handler wanting to retry, but that this should happen through a normal
task_work requeue rather than keep hammering on the issue side for this
one request.

No functional changes in this patch, nobody is using this return code
just yet.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 91e5d765
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment