[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8515452b-9479-05aa-eecb-a186001647fa@huaweicloud.com>
Date: Thu, 5 Feb 2026 15:27:24 +0800
From: Li Nan <linan666@...weicloud.com>
To: yukuai@...as.com, linan666@...weicloud.com, song@...nel.org
Cc: xni@...hat.com, linux-raid@...r.kernel.org, linux-kernel@...r.kernel.org,
yangerkun@...wei.com, yi.zhang@...wei.com
Subject: Re: [PATCH v2 06/14] md: Clean up folio sync support related code
在 2026/2/5 0:52, Yu Kuai 写道:
> Hi,
>
> 在 2026/1/28 15:57, linan666@...weicloud.com 写道:
>> From: Li Nan <linan122@...wei.com>
>>
>> 1. Remove resync_get_all_folio() and invoke folio_get() directly instead.
>> 2. Clean up redundant while(0) loop in md_bio_reset_resync_folio().
>> 3. Clean up bio variable by directly referencing r10_bio->devs[j].bio
>> instead in r1buf_pool_alloc() and r10buf_pool_alloc().
>> 4. Clean up RESYNC_PAGES.
>>
>> Signed-off-by: Li Nan <linan122@...wei.com>
>> Reviewed-by: Xiao Ni <xni@...hat.com>
>> ---
>> drivers/md/raid1-10.c | 22 ++++++----------------
>> drivers/md/raid1.c | 6 ++----
>> drivers/md/raid10.c | 6 ++----
>> 3 files changed, 10 insertions(+), 24 deletions(-)
>
> I think this patch can be merged into patch 5.
>
Thanks for your review.
Previously I modified them together, which made patch 5 difficult to review
as it is already large enough. I will merge them in the next version.
--
Thanks,
Nan
Powered by blists - more mailing lists