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

io_uring: don't keep looping for more events if we can't flush overflow



It doesn't make sense to wait for more events to come in, if we can't
even flush the overflow we already have to the ring. Return -EBUSY for
that condition, just like we do for attempts to submit with overflow
pending.

Cc: stable@vger.kernel.org # 5.11
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 46fe18b1
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