Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/md/
Dmd-multipath.c46 if (rdev && test_bit(In_sync, &rdev->flags) && in multipath_map()
157 seq_printf (seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in multipath_status()
206 if (test_and_clear_bit(In_sync, &rdev->flags)) { in multipath_error()
268 set_bit(In_sync, &rdev->flags); in multipath_add_disk()
290 if (test_bit(In_sync, &rdev->flags) || in multipath_remove_disk()
Draid10.c541 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request()
789 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1610 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status()
1643 test_bit(In_sync, &rdev->flags)) in _enough()
1681 if (test_bit(In_sync, &rdev->flags) in raid10_error()
1689 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
1726 i, !test_bit(In_sync, &rdev->flags), in print_conf()
1757 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
1760 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
1775 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
[all …]
Ddm-raid.c867 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) && in parse_dev_params()
894 if (!test_bit(In_sync, &rs->dev[i].rdev.flags)) in parse_dev_params()
1005 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) || in validate_raid_redundancy()
1051 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1077 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1174 set_bit(In_sync, &rs->dev[i].rdev.flags); in parse_raid_params()
1317 clear_bit(In_sync, &rd->rdev.flags); in parse_raid_params()
2199 (!test_bit(In_sync, &rdev->flags) && !rdev->recovery_offset)) { in super_load()
2349 if (!test_bit(In_sync, &r->flags)) { in super_init_validation()
2492 set_bit(In_sync, &rdev->flags); in super_validate()
[all …]
Draid1.c356 test_bit(In_sync, &rdev->flags))) in raid1_end_read_request()
474 if (test_bit(In_sync, &rdev->flags) && in raid1_end_write_request()
608 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1574 rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid1_status()
1593 if (test_bit(In_sync, &rdev->flags) in raid1_error()
1606 if (test_and_clear_bit(In_sync, &rdev->flags)) { in raid1_error()
1642 i, !test_bit(In_sync, &rdev->flags), in print_conf()
1683 && !test_and_set_bit(In_sync, &repl->flags)) { in raid1_spare_active()
1686 !test_and_clear_bit(In_sync, &rdev->flags)) in raid1_spare_active()
1701 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid1_spare_active()
[all …]
Dmd.c1139 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1234 set_bit(In_sync, &rdev->flags); in super_90_validate()
1251 set_bit(In_sync, &rdev->flags); in super_90_validate()
1334 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1364 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1636 clear_bit(In_sync, &rdev->flags); in super_1_validate()
1775 set_bit(In_sync, &rdev->flags); in super_1_validate()
1786 set_bit(In_sync, &rdev->flags); in super_1_validate()
1839 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
1946 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync()
[all …]
Draid5.c578 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
604 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
2571 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2584 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2685 clear_bit(In_sync, &rdev->flags); in raid5_error()
3355 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3483 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3490 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3512 && !test_bit(In_sync, &rdev->flags) in want_replace()
4463 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
[all …]
Dmd.h135 In_sync, /* device is in_sync with rest of array */ enumerator
Draid5-ppl.c901 if (!rdev || (!test_bit(In_sync, &rdev->flags) && in ppl_recover_entry()
Dmd-bitmap.c158 if (! test_bit(In_sync, &rdev->flags) in read_sb_page()