Lines Matching refs:Faulty
502 if (!test_bit(Faulty, &rdev->flags)) in raid1_end_write_request()
531 !test_bit(Faulty, &rdev->flags)) in raid1_end_write_request()
627 if (!rdev || test_bit(Faulty, &rdev->flags)) in choose_first_rdev()
665 if (!rdev || test_bit(Faulty, &rdev->flags) || in choose_bb_rdev()
704 if (!rdev || test_bit(Faulty, &rdev->flags) || in choose_slow_rdev()
763 if (!rdev || test_bit(Faulty, &rdev->flags)) in rdev_readable()
1567 if (!rdev || test_bit(Faulty, &rdev->flags)) in raid1_write_request()
1785 set_bit(Faulty, &rdev->flags); in raid1_error()
1817 !test_bit(Faulty, &rdev->flags), in print_conf()
1855 && !test_bit(Faulty, &repl->flags) in raid1_spare_active()
1866 set_bit(Faulty, &rdev->flags); in raid1_spare_active()
1873 && !test_bit(Faulty, &rdev->flags) in raid1_spare_active()
1920 if (!test_bit(Faulty, &rdev->flags) && in raid1_remove_conf()
2159 if (test_bit(Faulty, &rdev->flags)) in fix_sync_read_error()
2205 if (!rdev || test_bit(Faulty, &rdev->flags)) in fix_sync_read_error()
2380 if (test_bit(Faulty, &conf->mirrors[i].rdev->flags)) { in sync_request_write()
2432 (!test_bit(Faulty, &rdev->flags) && in fix_read_error()
2463 !test_bit(Faulty, &rdev->flags)) { in fix_read_error()
2477 !test_bit(Faulty, &rdev->flags)) { in fix_read_error()
2884 test_bit(Faulty, &rdev->flags)) { in raid1_sync_request()
3261 test_bit(Faulty, &conf->mirrors[i].rdev->flags)) in raid1_run()