[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f940eac3-bfd9-596d-0349-6d5e9738cdfe@huaweicloud.com>
Date: Mon, 1 Sep 2025 15:57:49 +0800
From: Yu Kuai <yukuai1@...weicloud.com>
To: Damien Le Moal <dlemoal@...nel.org>, Yu Kuai <yukuai1@...weicloud.com>,
hch@...radead.org, colyli@...nel.org, hare@...e.de, tieren@...as.com,
axboe@...nel.dk, tj@...nel.org, josef@...icpanda.com, song@...nel.org,
kmo@...erainc.com, satyat@...gle.com, ebiggers@...gle.com, neil@...wn.name,
akpm@...ux-foundation.org
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
cgroups@...r.kernel.org, linux-raid@...r.kernel.org, yi.zhang@...wei.com,
yangerkun@...wei.com, johnny.chenyi@...wei.com,
"yukuai (C)" <yukuai3@...wei.com>
Subject: Re: [PATCH RFC v3 06/15] md/raid0: convert raid0_handle_discard() to
use bio_submit_split_bioset()
Hi,
在 2025/09/01 14:37, Damien Le Moal 写道:
> On 9/1/25 12:32 PM, Yu Kuai wrote:
>> From: Yu Kuai <yukuai3@...wei.com>
>>
>> Unify bio split code, and prepare to fix disordered split IO
>
> Missing the period at the end of the above sentence.
>
>>
>> Noted commit 319ff40a5427 ("md/raid0: Fix performance regression for large
>> sequential writes") already fix disordered split IO by converting bio to
>> underlying disks before submit_bio_noacct(), with the respect
>> md_submit_bio() already split by sectors, and raid0_make_request() will
>> split at most once for unaligned IO. This is a bit hacky and we'll convert
>> this to solution in general later.
>
> I do not see how this is relevant to this patch. The patch is a simple
> straightforward conversion of hard-coded BIO split to using
> bio_submit_split_bioset(). So I would just say that.
This is just a note that why bio_split() from read/write is not
converted now, because disordered problem is fixed by above commit
already.
Later patch 15 will convert bio_split() from read/write.
>
>> Signed-off-by: Yu Kuai <yukuai3@...wei.com>
>
> With the above addressed, this looks OK to me.
>
> Reviewed-by: Damien Le Moal <dlemoal@...nel.org>
>
Thanks,
Kuai
Powered by blists - more mailing lists