diff options
author | NeilBrown <neilb@suse.de> | 2013-06-17 08:55:31 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-06-17 08:55:31 +0200 |
commit | f80057aec5d314798251e318555cb8ac92e4c06f (patch) | |
tree | a608c1049fce2ca0719c46847ea00afa4b44f7dc /super0.c | |
parent | mdadm.h: add little bits of doco for 'struct superswitch'. (diff) | |
download | mdadm-f80057aec5d314798251e318555cb8ac92e4c06f.tar.xz mdadm-f80057aec5d314798251e318555cb8ac92e4c06f.zip |
Assemble/Incr: Don't include spares with too-high event count.
Some failure scenarios can leave a spare with a higher event count
than an in-sync device. Assembling an array like this will confuse
the kernel.
So detect spares with event counts higher than the best non-spare
event count and exclude them from the array.
Reported-by: Alexander Lyakas <alex.bolshoy@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'super0.c')
0 files changed, 0 insertions, 0 deletions