From: linan666@huaweicloud.com
To: song@kernel.org, neilb@suse.de
Cc: linux-raid@vger.kernel.org, linux-kernel@vger.kernel.org,
linan122@huawei.com, yukuai3@huawei.com, yi.zhang@huawei.com,
houtao1@huawei.com, yangerkun@huawei.com
Subject: [PATCH 0/3] md/raid10: record rdev/replacement in r10bio
Date: Wed, 14 Jun 2023 16:47:37 +0800 [thread overview]
Message-ID: <20230614084740.1493969-1-linan666@huaweicloud.com> (raw)
From: Li Nan <linan122@huawei.com>
Replacement can replace rdev during replacement io pending.
mirror->rdev/replacement might be changed during io pending. Get rdev from
it is risky. This patch series record rdev/replacement in r10bio, and get
rdev from r10bio to fix bugs in normal write. And I want to do
this for each io type later.
Li Nan (3):
md/raid10: record rdev/replacement in struct r10bio
md/raid10: get rdev/replacemenet from r10bio for normal write
md/raid10: improve raid10_end_write_request()
drivers/md/raid10.c | 96 ++++++++++++++++++++++-----------------------
drivers/md/raid10.h | 12 +++---
2 files changed, 54 insertions(+), 54 deletions(-)
--
2.39.2
next reply other threads:[~2023-06-14 8:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-14 8:47 linan666 [this message]
2023-06-14 8:47 ` [PATCH 1/3] md/raid10: record rdev/replacement in struct r10bio linan666
2023-06-14 8:47 ` [PATCH 2/3] md/raid10: get rdev/replacemenet from r10bio for normal write linan666
2023-06-14 8:47 ` [PATCH 3/3] md/raid10: improve raid10_end_write_request() linan666
2023-06-15 3:31 ` [PATCH 0/3] md/raid10: record rdev/replacement in r10bio Yu Kuai
2023-06-16 7:03 ` Song Liu
2023-06-16 9:01 ` Li Nan
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=20230614084740.1493969-1-linan666@huaweicloud.com \
--to=linan666@huaweicloud.com \
--cc=houtao1@huawei.com \
--cc=linan122@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
--cc=song@kernel.org \
--cc=yangerkun@huawei.com \
--cc=yi.zhang@huawei.com \
--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 NNTP newsgroup(s).