Lines Matching full:faulty
497 * When the device is faulty, it is not necessary to in raid10_end_write_request()
500 if (!test_bit(Faulty, &rdev->flags)) in raid10_end_write_request()
525 * rebuilding or Faulty. This is because we cannot use in raid10_end_write_request()
532 !test_bit(Faulty, &rdev->flags)) in raid10_end_write_request()
779 if (rdev == NULL || test_bit(Faulty, &rdev->flags) || in read_balance()
791 test_bit(Faulty, &rdev->flags)) in read_balance()
1485 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_write_request()
1487 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_write_request()
1796 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_handle_discard()
1798 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_handle_discard()
2029 * @rdev is marked as &Faulty excluding case when array is failed and
2052 set_bit(Faulty, &rdev->flags); in raid10_error()
2082 !test_bit(Faulty, &rdev->flags), in print_conf()
2111 && !test_bit(Faulty, &tmp->replacement->flags) in raid10_spare_active()
2118 /* Replaced device not technically faulty, in raid10_spare_active()
2122 set_bit(Faulty, &tmp->rdev->flags); in raid10_spare_active()
2129 && !test_bit(Faulty, &tmp->rdev->flags) in raid10_spare_active()
2238 /* Only remove non-faulty devices if recovery in raid10_remove_disk()
2241 if (!test_bit(Faulty, &rdev->flags) && in raid10_remove_disk()
2739 if (test_bit(Faulty, &rdev->flags)) in fix_read_error()
2775 !test_bit(Faulty, &rdev->flags) && in fix_read_error()
2827 test_bit(Faulty, &rdev->flags) || in fix_read_error()
2861 test_bit(Faulty, &rdev->flags) || in fix_read_error()
3462 if (mrdev && (test_bit(Faulty, &mrdev->flags) || in raid10_sync_request()
3465 if (mreplace && test_bit(Faulty, &mreplace->flags)) in raid10_sync_request()
3529 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3752 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3782 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
4500 * - remove non-faulty devices
4520 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4536 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4588 && !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4654 !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4681 !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4693 && !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4992 if (!rdev2 || test_bit(Faulty, &rdev2->flags)) in reshape_request()
5084 if (!rdev || test_bit(Faulty, &rdev->flags)) { in reshape_request_write()
5166 test_bit(Faulty, &rdev->flags) || in handle_reshape_read_error()