Re: [PATCH] md: only calculate blocksize once and use i_blocksize()

From: Song Liu
Date: Wed Aug 19 2020 - 20:33:16 EST


On Mon, Aug 17, 2020 at 10:49 PM Xianting Tian <tian.xianting@xxxxxxx> wrote:
>
> We alreday has the interface i_blocksize(), which can be used
> to get blocksize, so use it.
> Only calculate blocksize once and use it within read_page().
>
> Signed-off-by: Xianting Tian <tian.xianting@xxxxxxx>

Thanks for the patch. Applied to md-next.