Lines Matching full:faulty
473 * When the device is faulty, it is not necessary to in raid1_end_write_request()
478 if (!test_bit(Faulty, &rdev->flags)) in raid1_end_write_request()
503 * rebuilding or Faulty. This is because we cannot use in raid1_end_write_request()
510 !test_bit(Faulty, &rdev->flags)) in raid1_end_write_request()
644 || test_bit(Faulty, &rdev->flags)) in read_balance()
800 if (test_bit(Faulty, &rdev->flags)) { in flush_bio_list()
1385 if (!rdev || test_bit(Faulty, &rdev->flags)) { in raid1_write_request()
1622 set_bit(Faulty, &rdev->flags); in raid1_error()
1655 !test_bit(Faulty, &rdev->flags), in print_conf()
1694 && !test_bit(Faulty, &repl->flags) in raid1_spare_active()
1702 * faulty, but we need to be sure in raid1_spare_active()
1705 set_bit(Faulty, &rdev->flags); in raid1_spare_active()
1712 && !test_bit(Faulty, &rdev->flags) in raid1_spare_active()
1806 /* Only remove non-faulty devices if recovery in raid1_remove_disk()
1809 if (!test_bit(Faulty, &rdev->flags) && in raid1_remove_disk()
1982 if (test_bit(Faulty, &rdev->flags)) in fix_sync_read_error()
2029 if (!rdev || test_bit(Faulty, &rdev->flags)) in fix_sync_read_error()
2200 if (test_bit(Faulty, &conf->mirrors[i].rdev->flags)) { in sync_request_write()
2249 (!test_bit(Faulty, &rdev->flags) && in fix_read_error()
2284 !test_bit(Faulty, &rdev->flags)) { in fix_read_error()
2302 !test_bit(Faulty, &rdev->flags)) { in fix_read_error()
2719 test_bit(Faulty, &rdev->flags)) { in raid1_sync_request()
3112 test_bit(Faulty, &conf->mirrors[i].rdev->flags)) in raid1_run()