Lines Matching full:faulty

477 		 * When the device is faulty, it is not necessary to  in raid1_end_write_request()
480 if (!test_bit(Faulty, &rdev->flags)) in raid1_end_write_request()
504 * rebuilding or Faulty. This is because we cannot use in raid1_end_write_request()
511 !test_bit(Faulty, &rdev->flags)) in raid1_end_write_request()
607 if (!rdev || test_bit(Faulty, &rdev->flags)) in choose_first_rdev()
645 if (!rdev || test_bit(Faulty, &rdev->flags) || in choose_bb_rdev()
684 if (!rdev || test_bit(Faulty, &rdev->flags) || in choose_slow_rdev()
743 if (!rdev || test_bit(Faulty, &rdev->flags)) in rdev_readable()
1538 if (!rdev || test_bit(Faulty, &rdev->flags)) { in raid1_write_request()
1770 * @rdev is marked as &Faulty excluding case when array is failed and
1793 set_bit(Faulty, &rdev->flags); in raid1_error()
1825 !test_bit(Faulty, &rdev->flags), in print_conf()
1863 && !test_bit(Faulty, &repl->flags) in raid1_spare_active()
1871 * faulty, but we need to be sure in raid1_spare_active()
1874 set_bit(Faulty, &rdev->flags); in raid1_spare_active()
1881 && !test_bit(Faulty, &rdev->flags) in raid1_spare_active()
1927 /* Only remove non-faulty devices if recovery is not possible. */ in raid1_remove_conf()
1928 if (!test_bit(Faulty, &rdev->flags) && in raid1_remove_conf()
2173 if (test_bit(Faulty, &rdev->flags)) in fix_sync_read_error()
2219 if (!rdev || test_bit(Faulty, &rdev->flags)) in fix_sync_read_error()
2389 if (test_bit(Faulty, &conf->mirrors[i].rdev->flags)) { in sync_request_write()
2442 (!test_bit(Faulty, &rdev->flags) && in fix_read_error()
2474 !test_bit(Faulty, &rdev->flags)) { in fix_read_error()
2488 !test_bit(Faulty, &rdev->flags)) { in fix_read_error()
2901 test_bit(Faulty, &rdev->flags)) { in raid1_sync_request()
3291 test_bit(Faulty, &conf->mirrors[i].rdev->flags)) in raid1_run()