• Pavel Begunkov's avatar
    io_uring: don't fail submit with overflow backlog · c82d5bc7
    Pavel Begunkov authored
    Don't fail submission attempts if there are CQEs in the overflow
    backlog, but give away the decision making to the userspace. It
    might be very inconvenient to the userspace, especially if
    submission and completion are done by different threads.
    
    We can remove it because of recent changes, where requests
    are now not locked by the backlog, backlog entries are allocated
    separately, so they take less space and cgroup accounted.
    Signed-off-by: default avatarPavel Begunkov <asml.silence@gmail.com>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    c82d5bc7
io_uring.c 242 KB