Lines Matching full:faulty
471 * When the device is faulty, it is not necessary to in raid10_end_write_request()
474 if (!test_bit(Faulty, &rdev->flags)) in raid10_end_write_request()
499 * rebuilding or Faulty. This is because we cannot use in raid10_end_write_request()
506 !test_bit(Faulty, &rdev->flags)) in raid10_end_write_request()
753 if (rdev == NULL || test_bit(Faulty, &rdev->flags) || in read_balance()
757 test_bit(Faulty, &rdev->flags)) in read_balance()
888 if (test_bit(Faulty, &rdev->flags)) { in flush_pending_writes()
1081 if (test_bit(Faulty, &rdev->flags)) { in raid10_unplug()
1364 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_write_request()
1366 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_write_request()
1646 set_bit(Faulty, &rdev->flags); in raid10_error()
1677 !test_bit(Faulty, &rdev->flags), in print_conf()
1706 && !test_bit(Faulty, &tmp->replacement->flags) in raid10_spare_active()
1713 /* Replaced device not technically faulty, in raid10_spare_active()
1717 set_bit(Faulty, &tmp->rdev->flags); in raid10_spare_active()
1724 && !test_bit(Faulty, &tmp->rdev->flags) in raid10_spare_active()
1830 /* Only remove non-faulty devices if recovery in raid10_remove_disk()
1833 if (!test_bit(Faulty, &rdev->flags) && in raid10_remove_disk()
2330 if (test_bit(Faulty, &rdev->flags)) in fix_read_error()
2369 !test_bit(Faulty, &rdev->flags) && in fix_read_error()
2423 test_bit(Faulty, &rdev->flags) || in fix_read_error()
2459 test_bit(Faulty, &rdev->flags) || in fix_read_error()
3046 !test_bit(Faulty, &mrdev->flags) && in raid10_sync_request()
3050 !test_bit(Faulty, &mreplace->flags)) in raid10_sync_request()
3069 if (mreplace && test_bit(Faulty, &mreplace->flags)) in raid10_sync_request()
3115 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3334 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3364 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
4100 * - remove non-faulty devices
4120 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4136 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4188 && !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4254 !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4281 !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4293 && !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4598 if (!rdev2 || test_bit(Faulty, &rdev2->flags)) in reshape_request()
4690 if (!rdev || test_bit(Faulty, &rdev->flags)) { in reshape_request_write()
4772 test_bit(Faulty, &rdev->flags) || in handle_reshape_read_error()