]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Assemble.c
Don't consider disks with a valid recovery offset as candidates for bumping up event...
authorAlexander Lyakas <alex.bolshoy@gmail.com>
Sun, 13 May 2012 07:10:43 +0000 (10:10 +0300)
committerNeilBrown <neilb@suse.de>
Tue, 15 May 2012 04:20:42 +0000 (14:20 +1000)
commit135a31f5ed39dfc5d0288fac7ae8af8f5b2ae233
treede2e244d88848df4fdeb4ee79fe3f48678555381
parentc456301a05dcbb3267ef13cd83e10c6867ea34ea
Don't consider disks with a valid recovery offset as candidates for bumping up event count

When we are looking for a candidate disk to bump up the event count,
we consider only disks that have recovery_start==MaxSector.
However, after we find one such disk, we agree to accept more disks
having same event count, regardless of their recovery_start.
Be consistent and don't accept disks with a valid recovery_start at all.

Signed-off-by: NeilBrown <neilb@suse.de>
Assemble.c