• J
    io_uring: flag SQPOLL busy condition to userspace · c1edbf5f
    Jens Axboe 提交于
    Now that we have backpressure, for SQPOLL, we have one more condition
    that warrants flagging that the application needs to enter the kernel:
    we failed to submit IO due to backpressure. Make sure we catch that
    and flag it appropriately.
    
    If we run into backpressure issues with the SQPOLL thread, flag it
    as such to the application by setting IORING_SQ_NEED_WAKEUP. This will
    cause the application to enter the kernel, and that will flush the
    backlog and clear the condition.
    Signed-off-by: NJens Axboe <axboe@kernel.dk>
    c1edbf5f
io_uring.c 113.1 KB