Lines Matching refs:degraded
2723 if (mddev->degraded)
2724 /* If the array is degraded, then skipping spares is both
2731 * be degraded any more and the spare can go back to sleep then.
2857 if (mddev->degraded)
4002 mddev->degraded = 0;
4029 mddev->sysfs_degraded = sysfs_get_dirent_safe(mddev->kobj.sd, "degraded");
4954 return sprintf(page, "%d\n", mddev->degraded);
4956 static struct md_sysfs_entry md_degraded = __ATTR_RO(degraded);
5984 if (mddev->degraded)
6003 mddev->sysfs_degraded = sysfs_get_dirent_safe(mddev->kobj.sd, "degraded");
6023 if (mddev->degraded && !mddev->ro)
6179 mddev->degraded = 0;
7973 if (mddev->degraded && !test_bit(MD_BROKEN, &mddev->flags))
9254 * 5/ If array is degraded, try to add spares devices
9446 mddev->degraded != mddev->raid_disks) {
9461 /* If array is no-longer degraded, then any saved_raid_disk
9464 if (!mddev->degraded)
9795 * device In_sync and mddev->degraded