Home
last modified time | relevance | path

Searched refs:In_sync (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/md/
H A Dmd-multipath.c38 if (rdev && test_bit(In_sync, &rdev->flags) && in multipath_map()
145 seq_printf (seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in multipath_status()
171 if (test_and_clear_bit(In_sync, &rdev->flags)) { in multipath_error()
232 set_bit(In_sync, &rdev->flags); in multipath_add_disk()
254 if (test_bit(In_sync, &rdev->flags) || in multipath_remove_disk()
H A Draid10.c531 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request()
793 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1959 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status()
1992 test_bit(In_sync, &rdev->flags)) in _enough()
2039 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) { in raid10_error()
2047 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
2081 i, !test_bit(In_sync, &rdev->flags), in print_conf()
2112 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
2115 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
2130 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
[all …]
H A Ddm-raid.c871 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) && in parse_dev_params()
898 if (!test_bit(In_sync, &rs->dev[i].rdev.flags)) in parse_dev_params()
1010 ((!test_bit(In_sync, &rs->dev[i].rdev.flags) || in validate_raid_redundancy()
1057 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1083 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1180 set_bit(In_sync, &rs->dev[i].rdev.flags); in parse_raid_params()
1323 clear_bit(In_sync, &rd->rdev.flags); in parse_raid_params()
2185 (!test_bit(In_sync, &rdev->flags) && !rdev->recovery_offset)) { in super_load()
2333 if (!test_bit(In_sync, &r->flags)) { in super_init_validation()
2472 set_bit(In_sync, &rdev->flags); in super_validate()
[all …]
H A Draid1.c392 test_bit(In_sync, &rdev->flags))) in raid1_end_read_request()
513 if (test_bit(In_sync, &rdev->flags) && in raid1_end_write_request()
650 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1625 rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid1_status()
1654 if (test_bit(In_sync, &rdev->flags) && in raid1_error()
1665 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid1_error()
1698 i, !test_bit(In_sync, &rdev->flags), in print_conf()
1739 && !test_and_set_bit(In_sync, &repl->flags)) { in raid1_spare_active()
1742 !test_and_clear_bit(In_sync, &rdev->flags)) in raid1_spare_active()
1757 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid1_spare_active()
[all …]
H A Dmd.c1281 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1378 set_bit(In_sync, &rdev->flags); in super_90_validate()
1395 set_bit(In_sync, &rdev->flags); in super_90_validate()
1478 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1508 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1792 clear_bit(In_sync, &rdev->flags); in super_1_validate()
1973 set_bit(In_sync, &rdev->flags); in super_1_validate()
1985 set_bit(In_sync, &rdev->flags); in super_1_validate()
2038 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
2145 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync()
[all …]
H A Draid5.c702 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
728 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
2855 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2870 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2972 clear_bit(In_sync, &rdev->flags); in raid5_error()
3672 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3800 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3807 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3829 && !test_bit(In_sync, &rdev->flags) in want_replace()
4797 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
[all …]
H A Dmd.h142 In_sync, /* device is in_sync with rest of array */ enumerator
H A Draid5-ppl.c888 if (!rdev || (!test_bit(In_sync, &rdev->flags) && in ppl_recover_entry()
H A Dmd-bitmap.c155 if (!test_bit(In_sync, &rdev->flags) || in read_sb_page()