Skip to content

Fix poll bug

Dylan Yudaken io-uring lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2io_uring: fix ordering of args in io_uring_queue_async_workinclude/trace/events/io_uring.h+1 -10 replies
2/2io_uring: only wake when the correct events are setfs/io_uring.c+3 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] Fix poll bug

Hi,

This fixes a bug in poll wakeups, where it would wake up unnecessarily. This is most obvious with sockets, where the socket will wake both readers and writers when new read data is available, even if the socket is still not writable.

Patch 1 is a simple bug I noticed while debugging the poll problem Patch 2 is the poll fix

Dylan Yudaken (2):
io_uring: fix ordering of args in io_uring_queue_async_work
io_uring: only wake when the correct events are set

 fs/io_uring.c                   | 5 +++--
 include/trace/events/io_uring.h | 2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

base-commit: f569add47119fa910ed7711b26b8d38e21f7ea77

Signature · 1 line
2.30.2