Searched refs:In_sync (Results 1 – 9 of 9) sorted by relevance
| /kernel/linux/linux-5.10/drivers/md/ |
| D | md-multipath.c | 38 if (rdev && test_bit(In_sync, &rdev->flags) && in multipath_map() 148 seq_printf (seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in multipath_status() 175 if (test_and_clear_bit(In_sync, &rdev->flags)) { in multipath_error() 237 set_bit(In_sync, &rdev->flags); in multipath_add_disk() 259 if (test_bit(In_sync, &rdev->flags) || in multipath_remove_disk()
|
| D | raid10.c | 505 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request() 759 if (!test_bit(In_sync, &rdev->flags) && in read_balance() 1560 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status() 1593 test_bit(In_sync, &rdev->flags)) in _enough() 1631 if (test_bit(In_sync, &rdev->flags) && !mddev->fail_last_dev in raid10_error() 1639 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error() 1676 i, !test_bit(In_sync, &rdev->flags), in print_conf() 1707 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active() 1710 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active() 1725 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active() [all …]
|
| D | dm-raid.c | 871 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() 2184 (!test_bit(In_sync, &rdev->flags) && !rdev->recovery_offset)) { in super_load() 2334 if (!test_bit(In_sync, &r->flags)) { in super_init_validation() 2475 set_bit(In_sync, &rdev->flags); in super_validate() [all …]
|
| D | raid1.c | 387 test_bit(In_sync, &rdev->flags))) in raid1_end_read_request() 509 if (test_bit(In_sync, &rdev->flags) && in raid1_end_write_request() 646 if (!test_bit(In_sync, &rdev->flags) && in read_balance() 1588 rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid1_status() 1607 if (test_bit(In_sync, &rdev->flags) && !mddev->fail_last_dev in raid1_error() 1620 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid1_error() 1654 i, !test_bit(In_sync, &rdev->flags), in print_conf() 1695 && !test_and_set_bit(In_sync, &repl->flags)) { in raid1_spare_active() 1698 !test_and_clear_bit(In_sync, &rdev->flags)) in raid1_spare_active() 1713 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid1_spare_active() [all …]
|
| D | md.c | 1317 clear_bit(In_sync, &rdev->flags); in super_90_validate() 1414 set_bit(In_sync, &rdev->flags); in super_90_validate() 1431 set_bit(In_sync, &rdev->flags); in super_90_validate() 1514 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync() 1544 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync() 1831 clear_bit(In_sync, &rdev->flags); in super_1_validate() 1980 set_bit(In_sync, &rdev->flags); in super_1_validate() 1992 set_bit(In_sync, &rdev->flags); in super_1_validate() 2045 !test_bit(In_sync, &rdev->flags)) { in super_1_sync() 2152 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync() [all …]
|
| D | raid5.c | 647 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded() 673 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded() 2767 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request() 2782 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request() 2886 clear_bit(In_sync, &rdev->flags); in raid5_error() 3562 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe() 3690 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync() 3697 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync() 3719 && !test_bit(In_sync, &rdev->flags) in want_replace() 4686 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe() [all …]
|
| D | md.h | 144 In_sync, /* device is in_sync with rest of array */ enumerator
|
| D | raid5-ppl.c | 896 if (!rdev || (!test_bit(In_sync, &rdev->flags) && in ppl_recover_entry()
|
| D | md-bitmap.c | 159 if (! test_bit(In_sync, &rdev->flags) in read_sb_page()
|