Lines Matching defs:spares
1389 * for spares (which don't need an event count) */
1922 * spares (which don't need an event count).
2376 /* skip spares and non-functional disks */
2655 * if we are allowed to, skip spares which already
2793 /* just a clean<-> dirty transition, possibly leave spares alone,
2795 * spares after all
2801 /* If the array is degraded, then skipping spares is both
2806 * Pointless because if there are any spares to skip,
3136 * from spares, or by assigning 'slot'.
6103 * via sysfs - until a lack of spares is confirmed.
6811 * to add "hot spares". They must already have a superblock
9102 int spares = 0;
9163 spares++;
9180 spares++;
9188 return spares;
9201 /* leave the spares where they are, it shouldn't hurt */
9235 * 3/ If recovery has finished, clean up, possibly marking spares active.
9237 * 5/ If array is degraded, try to add spares devices
9238 * 6/ If array has spares or is not in-sync, start a resync thread.
9282 int spares = 0;
9303 * we can activate the spares immediately.
9366 * add spares if possible.
9378 } else if ((spares = remove_and_add_spares(mddev, NULL))) {
9391 if (spares) {
9430 /* activate any spares */