public inbox for [email protected]
 help / color / mirror / Atom feed
From: Jens Axboe <[email protected]>
To: Pavel Begunkov <[email protected]>,
	 Uday Shankar <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH v2] io-wq: backoff when retrying worker creation
Date: Fri, 14 Feb 2025 15:40:29 -0700	[thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>


On Sat, 08 Feb 2025 13:42:13 -0700, Uday Shankar wrote:
> When io_uring submission goes async for the first time on a given task,
> we'll try to create a worker thread to handle the submission. Creating
> this worker thread can fail due to various transient conditions, such as
> an outstanding signal in the forking thread, so we have retry logic with
> a limit of 3 retries. However, this retry logic appears to be too
> aggressive/fast - we've observed a thread blowing through the retry
> limit while having the same outstanding signal the whole time. Here's an
> excerpt of some tracing that demonstrates the issue:
> 
> [...]

Applied, thanks!

[1/1] io-wq: backoff when retrying worker creation
      (no commit info)

Best regards,
-- 
Jens Axboe




      parent reply	other threads:[~2025-02-14 22:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-08 20:42 [PATCH v2] io-wq: backoff when retrying worker creation Uday Shankar
2025-02-14 20:49 ` Uday Shankar
2025-02-14 22:31   ` Jens Axboe
2025-02-18 19:39     ` Uday Shankar
2025-02-14 22:40 ` Jens Axboe [this message]

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=173957282937.385288.14355164441225915577.b4-ty@kernel.dk \
    [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