public inbox for [email protected]
 help / color / mirror / Atom feed
From: Dylan Yudaken <[email protected]>
To: Jens Axboe <[email protected]>, Pavel Begunkov <[email protected]>
Cc: <[email protected]>, <[email protected]>,
	<[email protected]>, Dylan Yudaken <[email protected]>
Subject: [PATCH 0/2] Fix poll bug
Date: Thu, 12 May 2022 02:18:32 -0700	[thread overview]
Message-ID: <[email protected]> (raw)

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
-- 
2.30.2


             reply	other threads:[~2022-05-12  9:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-12  9:18 Dylan Yudaken [this message]
2022-05-12  9:18 ` [PATCH 1/2] io_uring: fix ordering of args in io_uring_queue_async_work Dylan Yudaken
2022-05-12  9:18 ` [PATCH 2/2] io_uring: only wake when the correct events are set Dylan Yudaken
2022-05-12 12:19 ` [PATCH 0/2] Fix poll bug Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox