From: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx> Neil, This patch seems to do the job for us. Nate ran testing with > 500 iterations which would normally fail in less than 10. I tried changing MaxSector to ((~(sector_t)0) >> 1) as you suggested, but that made the raid5 code go explosive. This on the other hand seems to do the trick. Cheers, Jes Jes Sorensen (1): md/raid1: Avoid raid1 resync getting stuck drivers/md/raid1.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) -- 2.4.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