Lines Matching refs:Faulty

547 		    !test_bit(Faulty, &rdev->flags)) {  in submit_flushes()
920 if (!test_bit(Faulty, &rdev->flags) in super_written()
950 if (test_bit(Faulty, &rdev->flags)) in md_super_write()
1281 clear_bit(Faulty, &rdev->flags); in super_90_validate()
1376 set_bit(Faulty, &rdev->flags); in super_90_validate()
1489 test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1505 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1792 clear_bit(Faulty, &rdev->flags); in super_1_validate()
1915 set_bit(Faulty, &rdev->flags); in super_1_validate()
2112 if (test_bit(Faulty, &rdev2->flags)) in super_1_sync()
2266 if (test_bit(Faulty, &rdev->flags) || in match_mddev_units()
2271 if (test_bit(Faulty, &rdev2->flags) || in match_mddev_units()
2304 if (test_bit(Faulty, &rdev->flags)) in md_integrity_register()
2582 if ((iter->raid_disk >= 0) && !test_bit(Faulty, &iter->flags)) { in does_sb_need_changing()
2597 !test_bit(Faulty, &rdev->flags)) in does_sb_need_changing()
2600 if (test_bit(Faulty, &rdev->flags) && (role < MD_DISK_ROLE_MAX)) in does_sb_need_changing()
2737 if (test_bit(Faulty, &rdev->flags)) in md_update_sb()
2755 if (!test_bit(Faulty, &rdev->flags)) { in md_update_sb()
2874 if (test_bit(Faulty, &flags) || in state_show()
2886 && !test_bit(Faulty, &flags))) in state_show()
2888 if (!test_bit(Faulty, &flags) && in state_show()
2973 if (!test_bit(Faulty, &rdev->flags) && in state_store()
3053 else if (test_bit(Faulty, &rdev->flags) && (rdev->raid_disk == -1) && in state_store()
3063 clear_bit(Faulty, &rdev->flags); in state_store()
3192 clear_bit(Faulty, &rdev->flags); in slot_store()
5807 if (test_bit(Faulty, &rdev->flags)) in md_run()
6116 !test_bit(Faulty, &rdev->flags)) in restart_array()
6559 if (test_bit(Faulty, &rdev->flags)) in get_array_info()
6656 if (test_bit(Faulty, &rdev->flags)) in get_disk_info()
6961 if (test_bit(Faulty, &rdev->flags)) { in hot_add_disk()
7970 if (!rdev || test_bit(Faulty, &rdev->flags)) in md_error()
8050 !test_bit(Faulty, &rdev->flags) && in status_resync()
8269 if (test_bit(Faulty, &rdev->flags)) { in md_seq_show()
8859 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
9078 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
9141 test_bit(Faulty, &rdev->flags) && in remove_and_add_spares()
9189 !test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
9193 if (test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
9690 if (test_bit(Faulty, &rdev2->flags)) in check_sb_changes()
9843 if (!test_bit(Faulty, &rdev->flags)) in md_reload_sb()
9902 if (test_bit(Faulty, &rdev->flags)) in md_autostart_arrays()