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()
765 test_bit(Faulty, &rdev->flags)) in read_balance()
896 if (test_bit(Faulty, &rdev->flags)) { in flush_pending_writes()
1090 if (test_bit(Faulty, &rdev->flags)) { in raid10_unplug()
1380 if (rdev && (test_bit(Faulty, &rdev->flags))) in raid10_write_request()
1382 if (rrdev && (test_bit(Faulty, &rrdev->flags))) in raid10_write_request()
1662 set_bit(Faulty, &rdev->flags); in raid10_error()
1693 !test_bit(Faulty, &rdev->flags), in print_conf()
1722 && !test_bit(Faulty, &tmp->replacement->flags) in raid10_spare_active()
1729 /* Replaced device not technically faulty, in raid10_spare_active()
1733 set_bit(Faulty, &tmp->rdev->flags); in raid10_spare_active()
1740 && !test_bit(Faulty, &tmp->rdev->flags) in raid10_spare_active()
1846 /* Only remove non-faulty devices if recovery in raid10_remove_disk()
1849 if (!test_bit(Faulty, &rdev->flags) && in raid10_remove_disk()
2349 if (test_bit(Faulty, &rdev->flags)) in fix_read_error()
2388 !test_bit(Faulty, &rdev->flags) && in fix_read_error()
2442 test_bit(Faulty, &rdev->flags) || in fix_read_error()
2478 test_bit(Faulty, &rdev->flags) || in fix_read_error()
3064 !test_bit(Faulty, &mrdev->flags) && in raid10_sync_request()
3067 if (mreplace && test_bit(Faulty, &mreplace->flags)) in raid10_sync_request()
3130 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3349 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3379 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
4112 * - remove non-faulty devices
4132 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4148 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4200 && !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4266 !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4293 !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4305 && !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4610 if (!rdev2 || test_bit(Faulty, &rdev2->flags)) in reshape_request()
4702 if (!rdev || test_bit(Faulty, &rdev->flags)) { in reshape_request_write()
4784 test_bit(Faulty, &rdev->flags) || in handle_reshape_read_error()