Lines Matching refs:Faulty

500 			if (!test_bit(Faulty, &rdev->flags))  in raid10_end_write_request()
527 !test_bit(Faulty, &rdev->flags)) in raid10_end_write_request()
763 if (rdev == NULL || test_bit(Faulty, &rdev->flags) || in read_balance()
768 test_bit(Faulty, &rdev->flags)) in read_balance()
1426 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_write_request()
1428 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_write_request()
1762 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_handle_discard()
1764 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_handle_discard()
2015 set_bit(Faulty, &rdev->flags); in raid10_error()
2044 !test_bit(Faulty, &rdev->flags), in print_conf()
2073 && !test_bit(Faulty, &tmp->replacement->flags) in raid10_spare_active()
2084 set_bit(Faulty, &tmp->rdev->flags); in raid10_spare_active()
2091 && !test_bit(Faulty, &tmp->rdev->flags) in raid10_spare_active()
2195 if (!test_bit(Faulty, &rdev->flags) && in raid10_remove_disk()
2625 if (test_bit(Faulty, &rdev->flags)) in fix_read_error()
2649 !test_bit(Faulty, &rdev->flags) && in fix_read_error()
2697 test_bit(Faulty, &rdev->flags) || in fix_read_error()
2729 test_bit(Faulty, &rdev->flags) || in fix_read_error()
3287 if (mrdev && (test_bit(Faulty, &mrdev->flags) || in raid10_sync_request()
3290 if (mreplace && test_bit(Faulty, &mreplace->flags)) in raid10_sync_request()
3346 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3557 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) in raid10_sync_request()
3585 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) in raid10_sync_request()
4316 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4331 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4382 && !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4449 !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4477 !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4489 && !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4779 if (!rdev2 || test_bit(Faulty, &rdev2->flags)) in reshape_request()
4869 if (!rdev || test_bit(Faulty, &rdev->flags)) in reshape_request_write()
4946 test_bit(Faulty, &rdev->flags) || in handle_reshape_read_error()