This set of patches fixes all the issues that I could find with the new raid1 resync code. I didn't find anything that would obviously fix the hang that Jon Brassow reported. Jon: could you test with these patches on top of what you have just in case something happens to fix the problem without me realising it? Eivind: if you could test too, I'd really appreciate it. Thanks, NeilBrown --- NeilBrown (5): md/raid1: be more cautious where we read-balance during resync. md/raid1: clean up request counts properly in close_sync() md/raid1: make sure resync waits for conflicting writes to complete. md/raid1: Don't use next_resync to determine how far resync has progressed md/raid1: update next_resync under resync_lock. drivers/md/raid1.c | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 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