From: Zizhi Wo <wozizhi@huawei.com>
To: <song@kernel.org>, <yukuai@fygo.io>, <magiclinan@didiglobal.com>,
<xiao@kernel.org>, <linux-raid@vger.kernel.org>
Cc: <linux-kernel@vger.kernel.org>, <yangerkun@huawei.com>,
<chengzhihao1@huawei.com>, <wozizhi@huawei.com>
Subject: [PATCH V2 0/2] md/raid10: annotate lockless access and fix hungtask
Date: Mon, 17 Aug 2026 11:33:38 +0800 [thread overview]
Message-ID: <20260817033340.418119-1-wozizhi@huawei.com> (raw)
Patch 1 annotates the lockless access to conf->array_freeze_pending with
READ_ONCE()/WRITE_ONCE(). No functional change.
Patch 2 fixes a hungtask in raid10.
Changes in v2:
- Add patch 1 to annotate the lockless reads of conf->array_freeze_pending
with READ_ONCE(), paried with WRITE_ONCE() on the write side.
- Use READ_ONCE() when reading conf->array_freeze_pending in patch 2.
v1:
https://lore.kernel.org/all/20260810135521.3470422-1-wozizhi@huaweicloud.com/
Zizhi Wo (2):
md/raid10: annotate lockless access to array_freeze_pending
md/raid10: fix missing wakeup in wait_barrier_nolock
drivers/md/raid10.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
--
2.52.0
next reply other threads:[~2026-08-17 3:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-17 3:33 Zizhi Wo [this message]
2026-08-17 3:33 ` [PATCH V2 1/2] md/raid10: annotate lockless access to array_freeze_pending Zizhi Wo
2026-08-17 3:33 ` [PATCH V2 2/2] md/raid10: fix missing wakeup in wait_barrier_nolock Zizhi Wo
2026-08-17 10:53 ` Abd-Alrhman Masalkhi
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=20260817033340.418119-1-wozizhi@huawei.com \
--to=wozizhi@huawei.com \
--cc=chengzhihao1@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=magiclinan@didiglobal.com \
--cc=song@kernel.org \
--cc=xiao@kernel.org \
--cc=yangerkun@huawei.com \
--cc=yukuai@fygo.io \
/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