Lines Matching refs:Faulty
498 if (!test_bit(Faulty, &rdev->flags)) in raid10_end_write_request()
525 !test_bit(Faulty, &rdev->flags)) in raid10_end_write_request()
761 if (rdev == NULL || test_bit(Faulty, &rdev->flags) || in read_balance()
766 test_bit(Faulty, &rdev->flags)) in read_balance()
1430 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_write_request()
1432 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_write_request()
1768 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_handle_discard()
1770 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_handle_discard()
2021 set_bit(Faulty, &rdev->flags); in raid10_error()
2050 !test_bit(Faulty, &rdev->flags), in print_conf()
2079 && !test_bit(Faulty, &tmp->replacement->flags) in raid10_spare_active()
2090 set_bit(Faulty, &tmp->rdev->flags); in raid10_spare_active()
2097 && !test_bit(Faulty, &tmp->rdev->flags) in raid10_spare_active()
2204 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()
4938 if (!rdev || test_bit(Faulty, &rdev->flags)) in reshape_request_write()
5015 test_bit(Faulty, &rdev->flags) || in handle_reshape_read_error()