Skip to content

segfault and not only fixes

Pavel Begunkov io-uring 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5src/queue: don't re-wait for CQEssrc/queue.c+1 -10 replies
2/5src/queue: control kernel enter with a varsrc/queue.c+8 -40 replies
3/5test/link-timeout: close pipes after yourselftest/link-timeout.c+2 -00 replies
4/5test/sq-poll-share: don't ignore wait errorstest/sq-poll-share.c+8 -10 replies
5/5src/queue: fix no-error with NULL cqesrc/include/liburing.h src/queue.c+4 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH liburing 0/5] segfault and not only fixes

First 4 should be good and simple. 5/5 is my shot on the segfaults, take it with a grain of salt.

link-timeout failure is a separate beast, it's from the old times, and comes from the kernel's io_async_find_and_cancel() failing with ENOENT(?) when a linked-timeout sees its master but fails to cancel it, e.g. when the master is in IRQ or posting CQE.
Maybe we just need to fix the test.

Pavel Begunkov (5):
src/queue: don't re-wait for CQEs
src/queue: control kernel enter with a var
test/link-timeout: close pipes after yourself
test/sq-poll-share: don't ignore wait errors
src/queue: fix no-error with NULL cqe

 src/include/liburing.h |  4 +++-
 src/queue.c            | 22 +++++++++-------------
 test/link-timeout.c    |  2 ++
 test/sq-poll-share.c   |  9 ++++++++-
 4 files changed, 22 insertions(+), 15 deletions(-)
Signature · 1 line
2.24.0