On Mon, Oct 4, 2021 at 8:40 AM Guoqing Jiang <guoqing.jiang@xxxxxxxxx> wrote: > > Hello, > > The first patch fixes the same calltrace as commit 6607cd319b6b ("raid1: > ensure write behind bio has less than BIO_MAX_VECS sectors") tried > before, but unfortunately the calltrace still could happen if array > without write mostly device is configured with write-behind enabled. > So the first patch is suitable for fix branch which others are materials > for next branch. > > Pls review. > > Thanks, > Guoqing > > Guoqing Jiang (6): > md/raid1: only allocate write behind bio for WriteMostly device > md/bitmap: don't set max_write_behind if there is no write mostly > device > md/raid1: use rdev in raid1_write_request directly > md/raid10: add 'read_err' to raid10_read_request > md/raid5: call roundup_pow_of_two in raid5_run > md: remove unused argument from md_new_event Thanks for these fixes and cleanups! I applied 1, 3, 5, 6 to md-next. Song