From: Jes Sorensen Date: Wed, 16 Sep 2015 14:20:05 +0000 (-0400) Subject: md/raid1: Avoid raid1 resync getting stuck X-Git-Tag: omap-for-v4.4/cleanup-pt1~7^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8ff8bf09ff49733534ff3cee91bde030186055f;p=pandora-kernel.git md/raid1: Avoid raid1 resync getting stuck close_sync() needs to set conf->next_resync to a large, but safe value below MaxSector and use it to determine whether or not to set start_next_window in wait_barrier() Solution suggested by Neil Brown. Reported-by: Nate Dailey Tested-by: Xiao Ni Signed-off-by: Jes Sorensen Signed-off-by: NeilBrown --- Reading git-diff-tree failed