From: Jens Axboe <[email protected]>
To: [email protected], Pavel Begunkov <[email protected]>
Subject: Re: [PATCH v2] io_uring: fix CQ waiting timeout handling
Date: Thu, 05 Jan 2023 08:05:24 -0700 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <f7bffddd71b08f28a877d44d37ac953ddb01590d.1672915663.git.asml.silence@gmail.com>
On Thu, 05 Jan 2023 10:49:15 +0000, Pavel Begunkov wrote:
> Jiffy to ktime CQ waiting conversion broke how we treat timeouts, in
> particular we rearm it anew every time we get into
> io_cqring_wait_schedule() without adjusting the timeout. Waiting for 2
> CQEs and getting a task_work in the middle may double the timeout value,
> or even worse in some cases task may wait indefinitely.
>
>
> [...]
Applied, thanks!
[1/1] io_uring: fix CQ waiting timeout handling
commit: 12521a5d5cb7ff0ad43eadfc9c135d86e1131fa8
Best regards,
--
Jens Axboe
next reply other threads:[~2023-01-05 15:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-05 15:05 Jens Axboe [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-01-05 10:49 [PATCH v2] io_uring: fix CQ waiting timeout handling Pavel Begunkov
2023-01-11 6:39 ` Xiaoguang Wang
2023-01-11 14:44 ` Pavel Begunkov
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 \
--in-reply-to=167293112468.3865.7616323451687769851.b4-ty@kernel.dk \
[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