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.c525 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request()
787 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1942 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status()
1975 test_bit(In_sync, &rdev->flags)) in _enough()
2022 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) { in raid10_error()
2030 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
2064 i, !test_bit(In_sync, &rdev->flags), in print_conf()
2095 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
2098 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
2113 && !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()
508 if (test_bit(In_sync, &rdev->flags) && in raid1_end_write_request()
645 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1607 rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid1_status()
1636 if (test_bit(In_sync, &rdev->flags) && in raid1_error()
1647 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid1_error()
1680 i, !test_bit(In_sync, &rdev->flags), in print_conf()
1721 && !test_and_set_bit(In_sync, &repl->flags)) { in raid1_spare_active()
1724 !test_and_clear_bit(In_sync, &rdev->flags)) in raid1_spare_active()
1739 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid1_spare_active()
[all …]
H A Dmd.c1289 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1386 set_bit(In_sync, &rdev->flags); in super_90_validate()
1403 set_bit(In_sync, &rdev->flags); in super_90_validate()
1486 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1516 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1800 clear_bit(In_sync, &rdev->flags); in super_1_validate()
1981 set_bit(In_sync, &rdev->flags); in super_1_validate()
1993 set_bit(In_sync, &rdev->flags); in super_1_validate()
2046 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
2153 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()
2852 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2867 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2968 clear_bit(In_sync, &rdev->flags); in raid5_error()
3647 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3765 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3772 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3794 && !test_bit(In_sync, &rdev->flags) in want_replace()
4757 } 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()