Re: [PATCH 0/3] md/raid10: record rdev/replacement in r10bio
From: Li Nan <hidden>
Date: 2023-06-16 09:04:15
Also in:
lkml
From: Li Nan <hidden>
Date: 2023-06-16 09:04:15
Also in:
lkml
在 2023/6/16 15:03, Song Liu 写道:
On Wed, Jun 14, 2023 at 8:31 PM Yu Kuai [off-list ref] wrote:quoted
Hi, 在 2023/06/14 16:47, linan666@huaweicloud.com 写道:quoted
From: Li Nan <redacted> 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.I personally don't like this, do things by half. I'm good with this approch for raid10, but can you send a new version to use this for all io?Agreed. Please send the fix for all types.
OK, Let me fix all types.
Thanks, Song .
-- Thanks, Nan