Lines Matching refs:Faulty

506 				if (!test_bit(Faulty, &rdev->flags))  in raid10_end_write_request()
542 !test_bit(Faulty, &rdev->flags)) in raid10_end_write_request()
783 if (rdev == NULL || test_bit(Faulty, &rdev->flags) || in read_balance()
787 test_bit(Faulty, &rdev->flags)) in read_balance()
881 if (rdev && !test_bit(Faulty, &rdev->flags)) { in raid10_congested()
928 if (test_bit(Faulty, &rdev->flags)) { in flush_pending_writes()
1113 if (test_bit(Faulty, &rdev->flags)) { in raid10_unplug()
1416 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_write_request()
1418 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_write_request()
1696 set_bit(Faulty, &rdev->flags); in raid10_error()
1727 !test_bit(Faulty, &rdev->flags), in print_conf()
1756 && !test_bit(Faulty, &tmp->replacement->flags) in raid10_spare_active()
1767 set_bit(Faulty, &tmp->rdev->flags); in raid10_spare_active()
1774 && !test_bit(Faulty, &tmp->rdev->flags) in raid10_spare_active()
1879 if (!test_bit(Faulty, &rdev->flags) && in raid10_remove_disk()
2376 if (test_bit(Faulty, &rdev->flags)) in fix_read_error()
2415 !test_bit(Faulty, &rdev->flags) && in fix_read_error()
2469 test_bit(Faulty, &rdev->flags) || in fix_read_error()
2505 test_bit(Faulty, &rdev->flags) || in fix_read_error()
3090 test_bit(Faulty, &mrdev->flags) || in raid10_sync_request()
3093 test_bit(Faulty, &mreplace->flags))) { in raid10_sync_request()
3109 if (mreplace && test_bit(Faulty, &mreplace->flags)) in raid10_sync_request()
3155 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3242 test_bit(Faulty, &mreplace->flags)) in raid10_sync_request()
3379 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3409 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
4171 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4187 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4239 && !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4298 !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4310 && !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4589 if (!rdev2 || test_bit(Faulty, &rdev2->flags)) in reshape_request()
4682 if (!rdev || test_bit(Faulty, &rdev->flags)) { in reshape_request_write()
4760 test_bit(Faulty, &rdev->flags) || in handle_reshape_read_error()