Lines Matching refs:Faulty

602 		if (rdev->raid_disk < 0 || test_bit(Faulty, &rdev->flags))  in md_flush_request()
1099 if (!test_bit(Faulty, &rdev->flags) in super_written()
1140 if (test_bit(Faulty, &rdev->flags)) in md_write_metadata()
1483 clear_bit(Faulty, &rdev->flags); in super_90_validate()
1577 set_bit(Faulty, &rdev->flags); in super_90_validate()
1688 test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1704 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1991 clear_bit(Faulty, &rdev->flags); in super_1_validate()
2148 set_bit(Faulty, &rdev->flags); in super_1_validate()
2344 if (test_bit(Faulty, &rdev2->flags)) in super_1_sync()
2505 if (test_bit(Faulty, &rdev->flags) || in match_mddev_units()
2510 if (test_bit(Faulty, &rdev2->flags) || in match_mddev_units()
2752 if ((iter->raid_disk >= 0) && !test_bit(Faulty, &iter->flags)) { in does_sb_need_changing()
2767 !test_bit(Faulty, &rdev->flags)) in does_sb_need_changing()
2770 if (test_bit(Faulty, &rdev->flags) && (role < MD_DISK_ROLE_MAX)) in does_sb_need_changing()
2910 if (test_bit(Faulty, &rdev->flags)) in md_update_sb()
2928 if (!test_bit(Faulty, &rdev->flags)) { in md_update_sb()
3037 if (test_bit(Faulty, &flags) || in state_show()
3049 && !test_bit(Faulty, &flags))) in state_show()
3051 if (!test_bit(Faulty, &flags) && in state_show()
3134 if (!test_bit(Faulty, &rdev->flags) && in state_store()
3212 else if (test_bit(Faulty, &rdev->flags) && (rdev->raid_disk == -1) && in state_store()
3222 clear_bit(Faulty, &rdev->flags); in state_store()
3353 clear_bit(Faulty, &rdev->flags); in slot_store()
5041 !test_bit(Faulty, &rdev->flags) && in rdev_needs_recovery()
6485 test_bit(Faulty, &rdev->flags) || in md_bitmap_get_id_from_sb()
6661 if (test_bit(Faulty, &rdev->flags)) in md_run()
6917 !test_bit(Faulty, &rdev->flags)) in restart_array()
7340 if (test_bit(Faulty, &rdev->flags)) in get_array_info()
7437 if (test_bit(Faulty, &rdev->flags)) in get_disk_info()
7738 if (test_bit(Faulty, &rdev->flags)) { in hot_add_disk()
8747 if (!rdev || test_bit(Faulty, &rdev->flags)) in md_error()
8847 !test_bit(Faulty, &rdev->flags) && in status_resync()
9043 if (test_bit(Faulty, &rdev->flags)) { in md_seq_show()
9504 if (test_bit(Faulty, &rdev->flags) || in mddev_select_lazy_recover_rdev()
9986 if (test_bit(Faulty, &rdev->flags)) in rdev_removeable()
10009 !test_bit(Faulty, &rdev->flags); in rdev_is_spare()
10022 test_bit(Faulty, &rdev->flags)) in rdev_addable()
10560 if (test_bit(Faulty, &rdev->flags)) in rdev_set_badblocks()
10704 if (test_bit(Faulty, &rdev2->flags)) { in check_sb_changes()
10870 if (!test_bit(Faulty, &rdev->flags)) in md_reload_sb()
10929 if (test_bit(Faulty, &rdev->flags)) in md_autostart_arrays()