commit | d77a67ed5f27a37db11b7fbc871a4bf0e4c492da | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Wed Nov 27 17:02:21 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Nov 27 17:02:21 2019 -0700 |
tree | f5b75a89f5d3bebf960b57412560b0dc498db883 | |
parent | 4cc37def4ddbaa8687e2c18756d02b612af4da70 [diff] |
__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>