commit | e8ff8bf09ff49733534ff3cee91bde030186055f | [log] [tgz] |
---|---|---|
author | Jes Sorensen <Jes.Sorensen@redhat.com> | Wed Sep 16 10:20:05 2015 -0400 |
committer | NeilBrown <neilb@suse.com> | Fri Oct 02 17:23:44 2015 +1000 |
tree | a88b4a7f0d402a2aefeecc97b752c13e931874f6 | |
parent | 644df1a85fc4b0c7a16800f55717261546f4e651 [diff] |
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 <nate.dailey@stratus.com> Tested-by: Xiao Ni <xni@redhat.com> Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: NeilBrown <neilb@suse.com>