Searched refs:In_sync (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/md/ |
D | md-multipath.c | 46 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()
|
D | raid10.c | 541 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 …]
|
D | dm-raid.c | 867 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 …]
|
D | raid1.c | 356 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 …]
|
D | md.c | 1139 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 …]
|
D | raid5.c | 578 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 …]
|
D | md.h | 135 In_sync, /* device is in_sync with rest of array */ enumerator
|
D | raid5-ppl.c | 901 if (!rdev || (!test_bit(In_sync, &rdev->flags) && in ppl_recover_entry()
|
D | md-bitmap.c | 158 if (! test_bit(In_sync, &rdev->flags) in read_sb_page()
|