Lines Matching refs:Faulty

502 			if (!test_bit(Faulty, &rdev->flags))  in raid10_end_write_request()
534 !test_bit(Faulty, &rdev->flags)) in raid10_end_write_request()
781 if (rdev == NULL || test_bit(Faulty, &rdev->flags) || in read_balance()
785 test_bit(Faulty, &rdev->flags)) in read_balance()
915 if (test_bit(Faulty, &rdev->flags)) { in flush_pending_writes()
1130 if (test_bit(Faulty, &rdev->flags)) { in raid10_unplug()
1480 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_write_request()
1482 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_write_request()
1792 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_handle_discard()
1794 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_handle_discard()
2048 set_bit(Faulty, &rdev->flags); in raid10_error()
2078 !test_bit(Faulty, &rdev->flags), in print_conf()
2107 && !test_bit(Faulty, &tmp->replacement->flags) in raid10_spare_active()
2118 set_bit(Faulty, &tmp->rdev->flags); in raid10_spare_active()
2125 && !test_bit(Faulty, &tmp->rdev->flags) in raid10_spare_active()
2232 if (!test_bit(Faulty, &rdev->flags) && in raid10_remove_disk()
2727 if (test_bit(Faulty, &rdev->flags)) in fix_read_error()
2763 !test_bit(Faulty, &rdev->flags) && in fix_read_error()
2815 test_bit(Faulty, &rdev->flags) || in fix_read_error()
2849 test_bit(Faulty, &rdev->flags) || in fix_read_error()
3435 !test_bit(Faulty, &mrdev->flags) && in raid10_sync_request()
3439 !test_bit(Faulty, &mreplace->flags)) in raid10_sync_request()
3458 if (mreplace && test_bit(Faulty, &mreplace->flags)) in raid10_sync_request()
3504 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3723 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3753 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
4494 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4510 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4562 && !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4628 !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4655 !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4667 && !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4966 if (!rdev2 || test_bit(Faulty, &rdev2->flags)) in reshape_request()
5058 if (!rdev || test_bit(Faulty, &rdev->flags)) { in reshape_request_write()
5140 test_bit(Faulty, &rdev->flags) || in handle_reshape_read_error()