diff options
author | Jes Sorensen <[email protected]> | 2015-09-16 10:20:05 -0400 |
---|---|---|
committer | NeilBrown <[email protected]> | 2015-10-02 17:23:44 +1000 |
commit | e8ff8bf09ff49733534ff3cee91bde030186055f (patch) | |
tree | a88b4a7f0d402a2aefeecc97b752c13e931874f6 /lib/mpi/mpi-pow.c | |
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 <[email protected]>
Tested-by: Xiao Ni <[email protected]>
Signed-off-by: Jes Sorensen <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions