• Jens Axboe's avatar
    io_uring/poll: add requeue return code from poll multishot handling · 704ea888
    Jens Axboe authored
    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>
    704ea888
poll.c 28.6 KB