md: don't insist on valid event count for spare devices.
authorNeilBrown <neilb@suse.de>
Tue, 18 May 2010 00:17:09 +0000 (10:17 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 18 May 2010 05:28:01 +0000 (15:28 +1000)
Devices which know that they are spares do not really need to have
an event count that matches the rest of the array, so there are no
data-in-sync issues. It is enough that the uuid matches.
So remove the requirement that the event count is up-to-date.

We currently still write out and event count on spares, but this
allows us in a year or 3 to stop doing that completely.

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

No differences found