Re: [PATCH 1/1] md: Simplify code with existing definition RESYNC_SECTORS in raid10.c

From: Song Liu
Date: Fri Aug 21 2020 - 01:05:47 EST


On Thu, Aug 20, 2020 at 6:29 PM Zhen Lei <thunder.leizhen@xxxxxxxxxx> wrote:
>
> #define RESYNC_SECTORS (RESYNC_BLOCK_SIZE >> 9)
>
> "RESYNC_BLOCK_SIZE/512" is equal to "RESYNC_BLOCK_SIZE >> 9", replace it
> with RESYNC_SECTORS.
>
> Signed-off-by: Zhen Lei <thunder.leizhen@xxxxxxxxxx>

Applied to md-next. Thanks!