linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] md/raid10: record rdev/replacement in r10bio
@ 2023-06-14  8:47 linan666
  2023-06-14  8:47 ` [PATCH 1/3] md/raid10: record rdev/replacement in struct r10bio linan666
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: linan666 @ 2023-06-14  8:47 UTC (permalink / raw)
  To: song, neilb
  Cc: linux-raid, linux-kernel, linan122, yukuai3, yi.zhang, houtao1,
	yangerkun

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-06-16  9:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-14  8:47 [PATCH 0/3] md/raid10: record rdev/replacement in r10bio linan666
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

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).