Re: [PATCH v2 01/14] md/raid1,raid10: clean up of RESYNC_SECTORS

From: Yu Kuai

Date: Wed Feb 04 2026 - 11:30:53 EST


在 2026/1/28 15:56, linan666@xxxxxxxxxxxxxxx 写道:

> From: Li Nan<linan122@xxxxxxxxxx>
>
> Move redundant RESYNC_SECTORS definition from raid1 and raid10
> implementations to raid1-10.c.
>
> Simplify max_sync assignment in raid10_sync_request().
>
> No functional changes.
>
> Signed-off-by: Li Nan<linan122@xxxxxxxxxx>
> ---
> drivers/md/raid1-10.c | 1 +
> drivers/md/raid1.c | 1 -
> drivers/md/raid10.c | 4 +---
> 3 files changed, 2 insertions(+), 4 deletions(-)
Reviewed-by: Yu Kuai <yukuai@xxxxxxxxx>

--
Thansk,
Kuai