This series fixes the issue that Xiao Ni found where a deadlock can happen if there are active writes to an md/raid5 waiting for suspend_lo to be increased. The last patch contains the important fix. The others prepare for it so that it can work reliably. Thanks, NeilBrown --- NeilBrown (5): md: always hold reconfig_mutex when calling mddev_suspend() md: don't call bitmap_create() while array is quiesced. md: move suspend_hi/lo handling into core md code md: use mddev_suspend/resume instead of ->quiesce() md: allow metadata update while suspending. drivers/md/dm-raid.c | 5 ++- drivers/md/md.c | 74 ++++++++++++++++++++++++++++++++++------------ drivers/md/md.h | 6 ++++ drivers/md/raid1.c | 12 ++----- drivers/md/raid5-cache.c | 18 ++++++++--- drivers/md/raid5.c | 22 -------------- 6 files changed, 82 insertions(+), 55 deletions(-) -- Signature -- 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