Lines Matching refs:rebuild
216 /* Array elements of 64 bit needed for rebuild/failed disk bits */
327 { CTR_FLAG_REBUILD, "rebuild"},
823 int rebuild = 0;
873 rs->ti->error = "Drive designated for rebuild not specified";
899 rebuild++;
909 } else if (rebuild && !rs->md.recovery_cp) {
913 * it is impossible to rebuild a drive.
921 rs->ti->error = "Unable to rebuild drive while array is not in-sync";
1038 * It is possible to have a higher rebuild count for RAID10,
1108 * [rebuild <idx>] Rebuild the drive indicated by the index
1167 * 1) User specifies 'rebuild'.
1177 * authoritative, unless 'rebuild' or '[no]sync' was specified.
1308 * "rebuild" is being passed in by userspace to provide
1313 rs->ti->error = "Invalid rebuild index given";
1318 rs->ti->error = "rebuild for this index already given";
1472 rs->ti->error = "sync/nosync and rebuild are mutually exclusive";
2179 * Two cases that we want to write new superblocks and rebuild:
2181 * 2) Device specified for rebuild (!In_sync w/ offset == 0)
2335 DMINFO("Device %d specified for rebuild; clearing superblock",
2354 "'delta_disks' or 'rebuild' parameter specified");
2358 DMERR("%u 'rebuild' devices cannot be injected into"
2364 DMERR("new device%s provided without 'rebuild'",
2368 DMERR("'rebuild' specified while raid set is not in-sync (recovery_cp=%llu)",
2372 DMERR("'rebuild' specified while raid set is being reshaped (reshape_position=%llu)",
2767 * rebuild of any additional mirrors per group
3153 * devices to rebuild and we can check for a valid request here.
3206 /* May not set recovery when a device rebuild is requested */
3605 * Count any rebuild or writemostly argument pairs and subtract the
3606 * hweight count being added below of any rebuild and writemostly ctr flags.
3614 /* Calculate raid parameter count based on ^ rebuild/writemostly argument counts and ctr flags set. */