Lines Matching full:faulty

471 			 * When the device is faulty, it is not necessary to  in raid10_end_write_request()
476 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()
1645 set_bit(Faulty, &rdev->flags); in raid10_error()
1676 !test_bit(Faulty, &rdev->flags), in print_conf()
1705 && !test_bit(Faulty, &tmp->replacement->flags) in raid10_spare_active()
1712 /* Replaced device not technically faulty, in raid10_spare_active()
1716 set_bit(Faulty, &tmp->rdev->flags); in raid10_spare_active()
1723 && !test_bit(Faulty, &tmp->rdev->flags) in raid10_spare_active()
1826 /* Only remove non-faulty devices if recovery in raid10_remove_disk()
1829 if (!test_bit(Faulty, &rdev->flags) && in raid10_remove_disk()
2326 if (test_bit(Faulty, &rdev->flags)) in fix_read_error()
2365 !test_bit(Faulty, &rdev->flags) && in fix_read_error()
2419 test_bit(Faulty, &rdev->flags) || in fix_read_error()
2455 test_bit(Faulty, &rdev->flags) || in fix_read_error()
3042 !test_bit(Faulty, &mrdev->flags) && in raid10_sync_request()
3046 !test_bit(Faulty, &mreplace->flags)) in raid10_sync_request()
3065 if (mreplace && test_bit(Faulty, &mreplace->flags)) in raid10_sync_request()
3111 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3330 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
3360 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) { in raid10_sync_request()
4096 * - remove non-faulty devices
4116 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4132 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
4184 && !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4250 !test_bit(Faulty, &rdev->flags)) in raid10_start_reshape()
4277 !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4289 && !test_bit(Faulty, &rdev->flags)) { in raid10_start_reshape()
4594 if (!rdev2 || test_bit(Faulty, &rdev2->flags)) in reshape_request()
4686 if (!rdev || test_bit(Faulty, &rdev->flags)) { in reshape_request_write()
4768 test_bit(Faulty, &rdev->flags) || in handle_reshape_read_error()