Lines Matching refs:rebuild
218 /* Array elements of 64 bit needed for rebuild/failed disk bits */
329 { CTR_FLAG_REBUILD, "rebuild"},
829 int rebuild = 0;
879 rs->ti->error = "Drive designated for rebuild not specified";
905 rebuild++;
915 } else if (rebuild && !rs->md.resync_offset) {
919 * it is impossible to rebuild a drive.
927 rs->ti->error = "Unable to rebuild drive while array is not in-sync";
1044 * It is possible to have a higher rebuild count for RAID10,
1114 * [rebuild <idx>] Rebuild the drive indicated by the index
1173 * 1) User specifies 'rebuild'.
1183 * authoritative, unless 'rebuild' or '[no]sync' was specified.
1314 * "rebuild" is being passed in by userspace to provide
1319 rs->ti->error = "Invalid rebuild index given";
1324 rs->ti->error = "rebuild for this index already given";
1474 rs->ti->error = "sync/nosync and rebuild are mutually exclusive";
2208 * Two cases that we want to write new superblocks and rebuild:
2210 * 2) Device specified for rebuild (!In_sync w/ offset == 0)
2364 DMINFO("Device %d specified for rebuild; clearing superblock",
2381 "'delta_disks' or 'rebuild' parameter specified");
2385 DMERR("%u 'rebuild' devices cannot be injected into"
2391 DMERR("new device%s provided without 'rebuild'",
2395 DMERR("'rebuild' specified while raid set is not in-sync (resync_offset=%llu)",
2399 DMERR("'rebuild' specified while raid set is being reshaped (reshape_position=%llu)",
2798 * rebuild of any additional mirrors per group
3163 * devices to rebuild and we can check for a valid request here.
3216 /* May not set recovery when a device rebuild is requested */
3621 * Count any rebuild or writemostly argument pairs and subtract the
3622 * hweight count being added below of any rebuild and writemostly ctr flags.
3630 /* Calculate raid parameter count based on ^ rebuild/writemostly argument counts and ctr flags set. */