We had some places the mddev->flags are abused. Today I hit a reshape hang, which is related to this issue. Neil, I will appreciate if you could review the patches before the merge window start. Thanks, Shaohua Shaohua Li (3): md: takeover should clear unrelated bits md: MD_RECOVERY_NEEDED is set for mddev->recovery md: separate flags for superblock changes drivers/md/bitmap.c | 4 +- drivers/md/dm-raid.c | 4 +- drivers/md/md.c | 117 ++++++++++++++++++++++++----------------------- drivers/md/md.h | 16 ++++--- drivers/md/multipath.c | 2 +- drivers/md/raid0.c | 5 ++ drivers/md/raid1.c | 17 ++++--- drivers/md/raid10.c | 22 ++++----- drivers/md/raid5-cache.c | 6 +-- drivers/md/raid5.c | 32 +++++++------ 10 files changed, 121 insertions(+), 104 deletions(-) -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html