On Mon, Oct 5, 2020 at 9:02 AM Zhao Heming <heming.zhao@xxxxxxxx> wrote: > > The patched code is used to get chunks number, should use > round-up div to replace current sector_div. > The same code is in md_bitmap_resize(): > ``` > chunks = DIV_ROUND_UP_SECTOR_T(blocks, 1 << chunkshift); > ``` > > Signed-off-by: Zhao Heming <heming.zhao@xxxxxxxx> Applied both patches to md-next. Thanks, Song