From: Yu Kuai <yukuai3@xxxxxxxxxx> There are some problems that we fixed in md/raid, and some apis is changed. However, dm-raid rely the old apis(noted that old apis is problematic in corner cases), and now there are regressions in lvm2 testsuite. This patchset fix some regressions(patch 1-3), and revert changes to prevent regressions(patch 4,5). Noted that the problems in patch 4,5 is not clear yet, and I'm not able to locate the root cause ASAP, hence I decide to revert changes to prevent regressions first. Yu Kuai (5): md: don't ignore suspended array in md_check_recovery() md: don't ignore read-only array in md_check_recovery() md: make sure md_do_sync() will set MD_RECOVERY_DONE md: revert commit fa2bbff7b0b4 ("md: synchronize flush io with array reconfiguration") for dm-raid md: use md_reap_sync_thread() directly for dm-raid drivers/md/md.c | 58 ++++++++++++++++++++++++++++++------------------- 1 file changed, 36 insertions(+), 22 deletions(-) -- 2.39.2