Attention is currently required from: jolly.
pespin has posted comments on this change by jolly. ( https://gerrit.osmocom.org/c/libosmocore/+/40490?usp=email )
Change subject: Submit all SQEs to kernel if they don't fit in the io_uring ......................................................................
Patch Set 3: Code-Review-1
(1 comment)
File src/core/osmo_io_uring.c:
https://gerrit.osmocom.org/c/libosmocore/+/40490/comment/88a3ad63_028b3dfa?u... : PS3, Line 139: sqe = io_uring_get_sqe(&g_ring.ring); I bet this can still probably return NULL since between call to io_uring_submit() and this line the kernel may not have had time to process any sqe in the queue. hence probably the OSMO_ASSERT(sqe) below will potentially be false at some point.
Feel free to tell me I'm wrong, I'm just assuming the behavior/API here.