Skip to content
Commit e8ff8bf0 authored by Jes Sorensen's avatar Jes Sorensen Committed by NeilBrown
Browse files

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: default avatarNate Dailey <nate.dailey@stratus.com>
Tested-by: default avatarXiao Ni <xni@redhat.com>
Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarNeilBrown <neilb@suse.com>
parent 644df1a8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment