Lines Matching defs:spares
1348 * for spares (which don't need an event count) */
1878 * spares (which don't need an event count).
2331 /* skip spares and non-functional disks */
2581 * if we are allowed to, skip spares which already
2719 /* just a clean<-> dirty transition, possibly leave spares alone,
2721 * spares after all
2727 /* If the array is degraded, then skipping spares is both
2732 * Pointless because if there are any spares to skip,
3061 * from spares, or by assigning 'slot'.
6102 * via sysfs - until a lack of spares is confirmed.
6828 * to add "hot spares". They must already have a superblock
9226 int spares = 0;
9287 spares++;
9304 spares++;
9312 return spares;
9324 /* leave the spares where they are, it shouldn't hurt */
9358 * 3/ If recovery has finished, clean up, possibly marking spares active.
9360 * 5/ If array is degraded, try to add spares devices
9361 * 6/ If array has spares or is not in-sync, start a resync thread.
9406 int spares = 0;
9427 * we can activate the spares immediately.
9498 * add spares if possible.
9510 } else if ((spares = remove_and_add_spares(mddev, NULL))) {
9523 if (spares) {
9564 /* activate any spares */