diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2015-09-16 10:20:05 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2015-10-02 17:23:44 +1000 |
commit | e8ff8bf09ff49733534ff3cee91bde030186055f (patch) | |
tree | a88b4a7f0d402a2aefeecc97b752c13e931874f6 /drivers/md/bitmap.c | |
parent | 644df1a85fc4b0c7a16800f55717261546f4e651 (diff) | |
download | linux-e8ff8bf09ff49733534ff3cee91bde030186055f.tar.bz2 |
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>
Diffstat (limited to 'drivers/md/bitmap.c')
0 files changed, 0 insertions, 0 deletions