From: Yu Kuai <yukuai3@xxxxxxxxxx> patch 1 fix that array can't assemble if replacement is set while reshape is still in progress. patch 2 fix data corruption while echo reshape to sync_action patch 3-5 fix a deadlock for assemble while reboot from growing Yu Kuai (5): md/raid5: don't allow replacement while reshape is not done md: fix data corruption for raid456 when reshape restart while grow up md: export md_is_rdwr() and is_md_suspended() md: add a new api prepare_suspend() in md_personality md/raid5: fix a deadlock in the case that reshape is interrupted drivers/md/md.c | 35 +++++++++++++++++------------------ drivers/md/md.h | 18 ++++++++++++++++++ drivers/md/raid5.c | 45 ++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 79 insertions(+), 19 deletions(-) -- 2.39.2