From: Yu Kuai <yukuai3@xxxxxxxxxx> We're running many tests for raid10 currently, and we found a lot of problems already. This patchset is the first part for some simple and obvious problems. Most of the patches were sent separately already, but I think a patchset is better for review. Yu Kuai (6): md/raid10: don't call bio_start_io_acct twice for bio which experienced read error md: fix soft lockup in status_resync md/raid10: don't BUG_ON() in raise_barrier() md/radi10: fix leak of 'r10bio->remaining' for recovery md/raid10: fix memleak for 'conf->bio_split' md/raid10: fix memleak of md thread drivers/md/md.c | 18 +++++------ drivers/md/raid10.c | 78 +++++++++++++++++++++++---------------------- 2 files changed, 49 insertions(+), 47 deletions(-) -- 2.31.1