[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5c6ff37b-4285-f62a-c910-67401b0b9c1f@huaweicloud.com>
Date: Thu, 15 Jun 2023 11:31:17 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: linan666@...weicloud.com, song@...nel.org, neilb@...e.de
Cc: linux-raid@...r.kernel.org, linux-kernel@...r.kernel.org,
linan122@...wei.com, yi.zhang@...wei.com, houtao1@...wei.com,
yangerkun@...wei.com, "yukuai (C)" <yukuai3@...wei.com>
Subject: Re: [PATCH 0/3] md/raid10: record rdev/replacement in r10bio
Hi,
在 2023/06/14 16:47, linan666@...weicloud.com 写道:
> From: Li Nan <linan122@...wei.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.
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?
Thanks,
Kuai
>
> 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(-)
>
Powered by blists - more mailing lists