Lines Matching refs:Faulty
497 if (!test_bit(Faulty, &rdev->flags)) in raid10_end_write_request()
524 !test_bit(Faulty, &rdev->flags)) in raid10_end_write_request()
760 if (rdev == NULL || test_bit(Faulty, &rdev->flags) || in read_balance()
765 test_bit(Faulty, &rdev->flags)) in read_balance()
1421 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_write_request()
1423 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_write_request()
1759 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_handle_discard()
1761 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_handle_discard()
2012 set_bit(Faulty, &rdev->flags); in raid10_error()
2041 !test_bit(Faulty, &rdev->flags), in print_conf()
2070 && !test_bit(Faulty, &tmp->replacement->flags) in raid10_spare_active()
2081 set_bit(Faulty, &tmp->rdev->flags); in raid10_spare_active()
2088 && !test_bit(Faulty, &tmp->rdev->flags) in raid10_spare_active()
2195 if (!test_bit(Faulty, &rdev->flags) && in raid10_remove_disk()
2638 if (test_bit(Faulty, &rdev->flags)) in fix_read_error()
2662 !test_bit(Faulty, &rdev->flags) && in fix_read_error()
2711 test_bit(Faulty, &rdev->flags) || in fix_read_error()
2743 test_bit(Faulty, &rdev->flags) || in fix_read_error()
3332 if (mrdev && (test_bit(Faulty, &mrdev->flags) || in raid10_sync_request()
3335 if (mreplace && test_bit(Faulty, &mreplace->flags)) in raid10_sync_request()
3393 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3614 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) in raid10_sync_request()
3642 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) in raid10_sync_request()
4388 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4403 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4454 && !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4520 !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4547 !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4559 && !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4849 if (!rdev2 || test_bit(Faulty, &rdev2->flags)) in reshape_request()
4939 if (!rdev || test_bit(Faulty, &rdev->flags)) in reshape_request_write()
5017 test_bit(Faulty, &rdev->flags) || in handle_reshape_read_error()