Re: [PATCH 0/2] Fix poll bug

From: Jens Axboe
Date: Thu May 12 2022 - 08:19:29 EST


On Thu, 12 May 2022 02:18:32 -0700, Dylan Yudaken wrote:
> 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
>
> [...]

Applied, thanks!

[1/2] io_uring: fix ordering of args in io_uring_queue_async_work
commit: 2d2d5cb6ca8424fa849ebb4edb8e8022c13860c7
[2/2] io_uring: only wake when the correct events are set
commit: beed4eed5fc1fe18f2b78b214450e28d786c1e49

Best regards,
--
Jens Axboe