Lines Matching refs:Faulty

499 		    !test_bit(Faulty, &rdev->flags))  in raid10_end_write_request()
736 if (rdev == NULL || test_bit(Faulty, &rdev->flags) || in read_balance()
740 test_bit(Faulty, &rdev->flags)) in read_balance()
807 if (test_bit(Faulty, &rdev->flags)) { in read_balance()
838 if (rdev && !test_bit(Faulty, &rdev->flags)) { in raid10_congested()
1240 if (rdev && (test_bit(Faulty, &rdev->flags))) in __make_request()
1242 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in __make_request()
1593 set_bit(Faulty, &rdev->flags); in error()
1623 !test_bit(Faulty, &tmp->rdev->flags), in print_conf()
1653 && !test_bit(Faulty, &tmp->replacement->flags) in raid10_spare_active()
1664 set_bit(Faulty, &tmp->rdev->flags); in raid10_spare_active()
1671 && !test_bit(Faulty, &tmp->rdev->flags) in raid10_spare_active()
1776 if (!test_bit(Faulty, &rdev->flags) && in raid10_remove_disk()
2252 if (test_bit(Faulty, &rdev->flags)) in fix_read_error()
2948 test_bit(Faulty, in sync_request()
2999 test_bit(Faulty, &conf->mirrors[j].rdev->flags)) { in sync_request()
3089 test_bit(Faulty, &rdev->flags)) in sync_request()
3195 test_bit(Faulty, &conf->mirrors[d].rdev->flags)) in sync_request()
3223 test_bit(Faulty, in sync_request()
3931 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
3947 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
3999 && !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4058 !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4070 && !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4346 if (!rdev2 || test_bit(Faulty, &rdev2->flags)) in reshape_request()
4446 if (!rdev || test_bit(Faulty, &rdev->flags)) in reshape_request_write()
4514 test_bit(Faulty, &rdev->flags) || in handle_reshape_read_error()