summaryrefslogtreecommitdiffstats
path: root/super0.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-06-17 08:55:31 +0200
committerNeilBrown <neilb@suse.de>2013-06-17 08:55:31 +0200
commitf80057aec5d314798251e318555cb8ac92e4c06f (patch)
treea608c1049fce2ca0719c46847ea00afa4b44f7dc /super0.c
parentmdadm.h: add little bits of doco for 'struct superswitch'. (diff)
downloadmdadm-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