• Home
  • Raw
  • Download

Lines Matching full:faulty

518 		    !test_bit(Faulty, &rdev->flags)) {  in submit_flushes()
913 if (!test_bit(Faulty, &rdev->flags) in super_written()
943 if (test_bit(Faulty, &rdev->flags)) in md_super_write()
1277 clear_bit(Faulty, &rdev->flags); in super_90_validate()
1372 set_bit(Faulty, &rdev->flags); in super_90_validate()
1485 test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1501 if (test_bit(Faulty, &rdev2->flags)) in super_90_sync()
1519 /* now set the "removed" and "faulty" bits on any missing devices */ in super_90_sync()
1788 clear_bit(Faulty, &rdev->flags); in super_1_validate()
1911 * It could happen that our rdev was marked as Faulty, and all other in super_1_validate()
1942 case MD_DISK_ROLE_FAULTY: /* faulty */ in super_1_validate()
1943 set_bit(Faulty, &rdev->flags); in super_1_validate()
2140 if (test_bit(Faulty, &rdev2->flags)) in super_1_sync()
2294 if (test_bit(Faulty, &rdev->flags) || in match_mddev_units()
2299 if (test_bit(Faulty, &rdev2->flags) || in match_mddev_units()
2332 if (test_bit(Faulty, &rdev->flags)) in md_integrity_register()
2609 if ((iter->raid_disk >= 0) && !test_bit(Faulty, &iter->flags)) { in does_sb_need_changing()
2619 /* Check if a device has become faulty or a spare become active */ in does_sb_need_changing()
2624 !test_bit(Faulty, &rdev->flags)) in does_sb_need_changing()
2626 /* Device turned faulty? */ in does_sb_need_changing()
2627 if (test_bit(Faulty, &rdev->flags) && (role < MD_DISK_ROLE_MAX)) in does_sb_need_changing()
2764 if (test_bit(Faulty, &rdev->flags)) in md_update_sb()
2782 if (!test_bit(Faulty, &rdev->flags)) { in md_update_sb()
2799 pr_debug("md: %pg (skipping faulty)\n", in md_update_sb()
2901 if (test_bit(Faulty, &flags) || in state_show()
2904 len += sprintf(page+len, "faulty%s", sep); in state_show()
2913 && !test_bit(Faulty, &flags))) in state_show()
2915 if (!test_bit(Faulty, &flags) && in state_show()
2940 * faulty - simulates an error in state_store()
2958 if (cmd_match(buf, "faulty") && rdev->mddev->pers) { in state_store()
3000 if (!test_bit(Faulty, &rdev->flags) && in state_store()
3080 else if (test_bit(Faulty, &rdev->flags) && (rdev->raid_disk == -1) && in state_store()
3083 * have their local Faulty bit cleared. If any writes in state_store()
3090 clear_bit(Faulty, &rdev->flags); in state_store()
3222 clear_bit(Faulty, &rdev->flags); in slot_store()
3675 * mark the device faulty if:
3680 * a faulty rdev _never_ has rdev->sb set.
3720 pr_warn("md: %pg has zero or unknown size, marking faulty!\n", in md_import_device()
5882 if (test_bit(Faulty, &rdev->flags)) in md_run()
6200 !test_bit(Faulty, &rdev->flags)) in restart_array()
6207 /* Don't restart rw with journal missing/faulty */ in restart_array()
6660 if (test_bit(Faulty, &rdev->flags)) in get_array_info()
6757 if (test_bit(Faulty, &rdev->flags)) in get_disk_info()
7061 if (test_bit(Faulty, &rdev->flags)) { in hot_add_disk()
7062 pr_warn("md: can not hot-add faulty %pg disk to %s!\n", in hot_add_disk()
8080 if (!rdev || test_bit(Faulty, &rdev->flags)) in md_error()
8163 !test_bit(Faulty, &rdev->flags) && in status_resync()
8382 if (test_bit(Faulty, &rdev->flags)) { in md_seq_show()
8955 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
9174 !test_bit(Faulty, &rdev->flags) && in md_do_sync()
9238 test_bit(Faulty, &rdev->flags) && in remove_and_add_spares()
9240 /* Faulty non-Blocked devices with nr_pending == 0 in remove_and_add_spares()
9242 * never get Faulty cleared, and never get Blocked set. in remove_and_add_spares()
9286 !test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
9290 if (test_bit(Faulty, &rdev->flags)) in remove_and_add_spares()
9353 * This thread also removes any faulty devices (with nr_pending == 0).
9359 * 4/ If there are any faulty devices, remove them.
9796 if (test_bit(Faulty, &rdev2->flags)) in check_sb_changes()
9829 /* device faulty in check_sb_changes()
9831 * as faulty. The recovery is performed by the in check_sb_changes()
9949 if (!test_bit(Faulty, &rdev->flags)) in md_reload_sb()
10008 if (test_bit(Faulty, &rdev->flags)) in md_autostart_arrays()