Lines Matching refs:degraded
391 if (r1_bio->mddev->degraded == conf->raid_disks || in raid1_end_read_request()
392 (r1_bio->mddev->degraded == conf->raid_disks-1 && in raid1_end_read_request()
1565 conf->raid_disks - mddev->degraded > 1) in raid1_write_request()
1632 conf->raid_disks - mddev->degraded); in raid1_status()
1667 (conf->raid_disks - mddev->degraded) == 1) { in raid1_error()
1678 mddev->degraded++; in raid1_error()
1690 mdname(mddev), conf->raid_disks - mddev->degraded); in raid1_error()
1702 pr_debug(" --- wd:%d rd:%d\n", conf->raid_disks - conf->mddev->degraded, in print_conf()
1774 mddev->degraded -= count; in raid1_spare_active()
1865 mddev->degraded < conf->raid_disks) { in raid1_remove_disk()
2579 if (mddev->degraded) in raid1d()
3152 mddev->degraded = 0; in raid1_run()
3157 mddev->degraded++; in raid1_run()
3161 if (conf->raid_disks - mddev->degraded < 1) { in raid1_run()
3167 if (conf->raid_disks - mddev->degraded == 1) in raid1_run()
3174 mdname(mddev), mddev->raid_disks - mddev->degraded, in raid1_run()
3339 mddev->degraded += (raid_disks - conf->raid_disks); in raid1_reshape()