Lines Matching refs:Faulty
475 if (!test_bit(Faulty, &rdev->flags)) in raid10_end_write_request()
507 !test_bit(Faulty, &rdev->flags)) in raid10_end_write_request()
754 if (rdev == NULL || test_bit(Faulty, &rdev->flags) || in read_balance()
758 test_bit(Faulty, &rdev->flags)) in read_balance()
889 if (test_bit(Faulty, &rdev->flags)) { in flush_pending_writes()
1082 if (test_bit(Faulty, &rdev->flags)) { in raid10_unplug()
1421 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_write_request()
1423 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_write_request()
1729 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_handle_discard()
1731 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_handle_discard()
1976 set_bit(Faulty, &rdev->flags); in raid10_error()
2007 !test_bit(Faulty, &rdev->flags), in print_conf()
2036 && !test_bit(Faulty, &tmp->replacement->flags) in raid10_spare_active()
2047 set_bit(Faulty, &tmp->rdev->flags); in raid10_spare_active()
2054 && !test_bit(Faulty, &tmp->rdev->flags) in raid10_spare_active()
2160 if (!test_bit(Faulty, &rdev->flags) && in raid10_remove_disk()
2657 if (test_bit(Faulty, &rdev->flags)) in fix_read_error()
2696 !test_bit(Faulty, &rdev->flags) && in fix_read_error()
2750 test_bit(Faulty, &rdev->flags) || in fix_read_error()
2786 test_bit(Faulty, &rdev->flags) || in fix_read_error()
3373 !test_bit(Faulty, &mrdev->flags) && in raid10_sync_request()
3377 !test_bit(Faulty, &mreplace->flags)) in raid10_sync_request()
3396 if (mreplace && test_bit(Faulty, &mreplace->flags)) in raid10_sync_request()
3442 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3661 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3691 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
4447 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4463 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4515 && !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4581 !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4608 !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4620 && !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4921 if (!rdev2 || test_bit(Faulty, &rdev2->flags)) in reshape_request()
5013 if (!rdev || test_bit(Faulty, &rdev->flags)) { in reshape_request_write()
5095 test_bit(Faulty, &rdev->flags) || in handle_reshape_read_error()