[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPhsuW5Gc8PA=1mAyTZ6qUxRF=pq+01JRO_9NKcsvV_Wr2d+=Q@mail.gmail.com>
Date: Thu, 20 Aug 2020 22:05:31 -0700
From: Song Liu <song@...nel.org>
To: Zhen Lei <thunder.leizhen@...wei.com>
Cc: linux-raid <linux-raid@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/1] md: Simplify code with existing definition
RESYNC_SECTORS in raid10.c
On Thu, Aug 20, 2020 at 6:29 PM Zhen Lei <thunder.leizhen@...wei.com> 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@...wei.com>
Applied to md-next. Thanks!
Powered by blists - more mailing lists