Lines Matching full:rebuild
216 /* Array elements of 64 bit needed for rebuild/failed disk bits */
327 { CTR_FLAG_REBUILD, "rebuild"},
822 int rebuild = 0; in parse_dev_params() local
872 rs->ti->error = "Drive designated for rebuild not specified"; in parse_dev_params()
898 rebuild++; in parse_dev_params()
908 } else if (rebuild && !rs->md.recovery_cp) { in parse_dev_params()
912 * it is impossible to rebuild a drive. in parse_dev_params()
920 rs->ti->error = "Unable to rebuild drive while array is not in-sync"; in parse_dev_params()
1036 * It is possible to have a higher rebuild count for RAID10, in validate_raid_redundancy()
1105 * [rebuild <idx>] Rebuild the drive indicated by the index
1164 * 1) User specifies 'rebuild'. in parse_raid_params()
1174 * authoritative, unless 'rebuild' or '[no]sync' was specified. in parse_raid_params()
1305 * "rebuild" is being passed in by userspace to provide in parse_raid_params()
1310 rs->ti->error = "Invalid rebuild index given"; in parse_raid_params()
1315 rs->ti->error = "rebuild for this index already given"; in parse_raid_params()
1469 rs->ti->error = "sync/nosync and rebuild are mutually exclusive"; in parse_raid_params()
2177 * Two cases that we want to write new superblocks and rebuild: in super_load()
2179 * 2) Device specified for rebuild (!In_sync w/ offset == 0) in super_load()
2333 DMINFO("Device %d specified for rebuild; clearing superblock", in super_init_validation()
2352 "'delta_disks' or 'rebuild' parameter specified"); in super_init_validation()
2356 DMERR("%u 'rebuild' devices cannot be injected into" in super_init_validation()
2362 DMERR("new device%s provided without 'rebuild'", in super_init_validation()
2366 DMERR("'rebuild' specified while raid set is not in-sync (recovery_cp=%llu)", in super_init_validation()
2370 DMERR("'rebuild' specified while raid set is being reshaped (reshape_position=%llu)", in super_init_validation()
2765 * rebuild of any additional mirrors per group in rs_prepare_reshape()
3151 * devices to rebuild and we can check for a valid request here. in raid_ctr()
3204 /* May not set recovery when a device rebuild is requested */ in raid_ctr()
3605 * Count any rebuild or writemostly argument pairs and subtract the in raid_status()
3606 * hweight count being added below of any rebuild and writemostly ctr flags. in raid_status()
3614 …/* Calculate raid parameter count based on ^ rebuild/writemostly argument counts and ctr flags set… in raid_status()