__io_uring_submit: always check sq_ring_needs_enter()

If SQPOLL is used, we must always call sq_ring_needs_enter(). Otherwise
we don't get IORING_ENTER_SQ_WAKEUP set in the flags, and we don't wake
the sq thread.

Fixes: https://github.com/axboe/liburing/issues/24
Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 file changed