On Sat, Oct 3, 2020 at 9:26 AM heming.zhao@xxxxxxxx <heming.zhao@xxxxxxxx> wrote: > > very sorry for my mistake. > > the patch should be change from: > ``` > - sector_div(bm_blocks, > + DIV_ROUND_UP_SECTOR_T(bm_blocks, > bitmap->mddev->bitmap_info.chunksize >> 9); > ``` > > to > ``` > - sector_div(bm_blocks, > - bitmap->mddev->bitmap_info.chunksize >> 9); > + bm_blocks = DIV_ROUND_UP_SECTOR_T(bm_blocks, > + (bitmap->mddev->bitmap_info.chunksize >> 9)); > ``` > > If my patch would be accepted, I will send v2 patch including above lines. Please send v2 of the patch. Please also CC Guoqing in v2. Thanks, Song