From: Pavel Begunkov <[email protected]>
To: [email protected]
Cc: Jens Axboe <[email protected]>, [email protected]
Subject: [PATCH 0/2] LAZY_WAKE misuse fixes
Date: Tue, 30 Apr 2024 16:42:29 +0100 [thread overview]
Message-ID: <[email protected]> (raw)
LAZY_WAKE can't be used with requests for which users expect >1 CQE,
otherwise wait(nr=2) may get stuck waiting for a tw that will never
arrive. Fix up invalid use of LAZY_WAKE with sendzc.
Pavel Begunkov (2):
io_uring/net: fix sendzc lazy wake polling
io_uring/notif: disable LAZY_WAKE for linked notifs
io_uring/net.c | 1 +
io_uring/notif.c | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
--
2.44.0
next reply other threads:[~2024-04-30 15:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-30 15:42 Pavel Begunkov [this message]
2024-04-30 15:42 ` [PATCH 1/2] io_uring/net: fix sendzc lazy wake polling Pavel Begunkov
2024-04-30 15:42 ` [PATCH 2/2] io_uring/notif: disable LAZY_WAKE for linked notifs Pavel Begunkov
2024-04-30 19:06 ` [PATCH 0/2] LAZY_WAKE misuse fixes 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] \
/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