Lines Matching refs:degraded
2718 if (mddev->degraded)
2719 /* If the array is degraded, then skipping spares is both
2726 * be degraded any more and the spare can go back to sleep then.
2852 if (mddev->degraded)
3997 mddev->degraded = 0;
4024 mddev->sysfs_degraded = sysfs_get_dirent_safe(mddev->kobj.sd, "degraded");
4949 return sprintf(page, "%d\n", mddev->degraded);
4951 static struct md_sysfs_entry md_degraded = __ATTR_RO(degraded);
5979 if (mddev->degraded)
5998 mddev->sysfs_degraded = sysfs_get_dirent_safe(mddev->kobj.sd, "degraded");
6018 if (mddev->degraded && !mddev->ro)
6174 mddev->degraded = 0;
7968 if (mddev->degraded && !test_bit(MD_BROKEN, &mddev->flags))
9249 * 5/ If array is degraded, try to add spares devices
9441 mddev->degraded != mddev->raid_disks) {
9456 /* If array is no-longer degraded, then any saved_raid_disk
9459 if (!mddev->degraded)
9790 * device In_sync and mddev->degraded