On 21/06/2020 21:48, Jens Axboe wrote: > On 6/21/20 10:14 AM, Pavel Begunkov wrote: >> v2: use relaxed load >> fix errata >> >> Pavel Begunkov (2): >> barriers: add load relaxed >> Fix hang in io_uring_get_cqe() with iopoll >> >> src/include/liburing/barrier.h | 4 ++++ >> src/queue.c | 16 +++++++++++++++- >> 2 files changed, 19 insertions(+), 1 deletion(-) > > After checking again, I think your liburing is quite a bit out-of-date. It is. Apparently I checked out something old, my apologies. > Can you check if the issue still exists in the current git tree? This one is plumbed, though from a glance there is a similar problem with non-iopoll mode and early wake by a timeout, rendering it to idle-loop instead of sleeping. I'll leave it for a bit later. -- Pavel Begunkov