t/io_uring: SQPOLL fixes
authorJens Axboe <axboe@kernel.dk>
Mon, 8 Mar 2021 22:13:06 +0000 (15:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 8 Mar 2021 22:13:06 +0000 (15:13 -0700)
commitfc2dc21b17638a639766dbcafc83411d42e4b744
tree01b51176d134ed4a54a67bae97bb91257f6157f1
parentea9be958d8948cab0c5593a7afc695d17bd6ba79
t/io_uring: SQPOLL fixes

Use the proper primitives to load/store the ring head/tail. And as
importantly, account any submit as a full submit, even if we don't
need to call io_uring_enter().

This fixes hangs with using SQPOLL.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/io_uring.c