Linux-Raid Archives mirror
 help / color / mirror / Atom feed
From: Song Liu <song@kernel.org>
To: Jack Wang <jinpu.wang@ionos.com>
Cc: linux-raid@vger.kernel.org,
	 Florian-Ewald Mueller <florian-ewald.mueller@ionos.com>,
	Yu Kuai <yukuai3@huawei.com>
Subject: Re: [PATCH] md: add check for sleepers in md_wakeup_thread()
Date: Wed, 10 Apr 2024 14:36:46 -0700	[thread overview]
Message-ID: <CAPhsuW6hXm3nZd_BbD2=LriZwiLRGSiCx_ZMsC1qx8C4huCgzw@mail.gmail.com> (raw)
In-Reply-To: <20240327114022.74634-1-jinpu.wang@ionos.com>

On Wed, Mar 27, 2024 at 4:40 AM Jack Wang <jinpu.wang@ionos.com> wrote:
>
> From: Florian-Ewald Mueller <florian-ewald.mueller@ionos.com>
>
> Check for sleeping thread before attempting its wake_up in
> md_wakeup_thread() to avoid unnecessary spinlock contention.
>
> With a 6.1 kernel, fio random read/write tests on many (>= 100)
> virtual volumes, of 100 GiB each, on 3 md-raid5s on 8 SSDs each
> (building a raid50), show by 3 to 4 % improved IOPS performance.
>
> Signed-off-by: Florian-Ewald Mueller <florian-ewald.mueller@ionos.com>
> Reviewed-by: Yu Kuai <yukuai3@huawei.com>
> Signed-off-by: Jack Wang <jinpu.wang@ionos.com>

Applied to md-6.10. Thanks!

Song

      reply	other threads:[~2024-04-10 21:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-27 11:40 [PATCH] md: add check for sleepers in md_wakeup_thread() Jack Wang
2024-04-10 21:36 ` Song Liu [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='CAPhsuW6hXm3nZd_BbD2=LriZwiLRGSiCx_ZMsC1qx8C4huCgzw@mail.gmail.com' \
    --to=song@kernel.org \
    --cc=florian-ewald.mueller@ionos.com \
    --cc=jinpu.wang@ionos.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=yukuai3@huawei.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).