Lines Matching full:faulty

623  *  - remove non-faulty devices
642 if (rdev && test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded()
644 if (!rdev || test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded()
649 /* not in-sync or faulty. in raid5_calc_degraded()
668 if (rdev && test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded()
670 if (!rdev || test_bit(Faulty, &rdev->flags)) in raid5_calc_degraded()
675 /* not in-sync or faulty. in raid5_calc_degraded()
1119 if (rdev && test_bit(Faulty, &rdev->flags)) in ops_run_io()
1123 if (rrdev && test_bit(Faulty, &rrdev->flags)) in ops_run_io()
2755 if (!test_bit(Faulty, &rdev->flags)) { in raid5_end_read_request()
2892 set_bit(Faulty, &rdev->flags); in raid5_error()
3564 !test_bit(Faulty, &rdev->flags)) in handle_failed_stripe()
3690 && !test_bit(Faulty, &rdev->flags) in handle_failed_sync()
3697 && !test_bit(Faulty, &rdev->flags) in handle_failed_sync()
3719 && !test_bit(Faulty, &rdev->flags) in want_replace()
3812 * is missing/faulty, then we need to read everything we can. in need_this_block()
4646 if (rdev && !test_bit(Faulty, &rdev->flags) && in analyse_stripe()
4652 if (rdev && !test_bit(Faulty, &rdev->flags)) in analyse_stripe()
4659 if (rdev && test_bit(Faulty, &rdev->flags)) in analyse_stripe()
4707 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe()
4718 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe()
4727 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe()
4744 if (rdev && !test_bit(Faulty, &rdev->flags)) in analyse_stripe()
4749 if (rdev && !test_bit(Faulty, &rdev->flags)) in analyse_stripe()
5427 if (!rdev || test_bit(Faulty, &rdev->flags) || in raid5_read_one_chunk()
5431 (test_bit(Faulty, &rdev->flags) || in raid5_read_one_chunk()
6283 * one drive while leaving another faulty drive in array. in raid5_sync_request()
6289 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) in raid5_sync_request()
7832 i, !test_bit(Faulty, &tmp->rdev->flags), in print_raid5_conf()
7849 && !test_bit(Faulty, &tmp->replacement->flags) in raid5_spare_active()
7856 /* Replaced device not technically faulty, in raid5_spare_active()
7860 set_bit(Faulty, &tmp->rdev->flags); in raid5_spare_active()
7867 && !test_bit(Faulty, &tmp->rdev->flags) in raid5_spare_active()
7920 /* Only remove non-faulty devices if recovery in raid5_remove_disk()
7923 if (!test_bit(Faulty, &rdev->flags) && in raid5_remove_disk()
8165 && !test_bit(Faulty, &rdev->flags)) in raid5_start_reshape()
8225 !test_bit(Faulty, &rdev->flags)) { in raid5_start_reshape()
8237 && !test_bit(Faulty, &rdev->flags)) { in raid5_start_reshape()