Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Draid10.c524 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request()
768 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1931 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status()
1962 test_bit(In_sync, &rdev->flags)) in _enough()
2008 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) { in raid10_error()
2016 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
2049 i, !test_bit(In_sync, &rdev->flags), in print_conf()
2080 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
2083 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
2098 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
[all …]
H A Ddm-raid.c877 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) && in parse_dev_params()
904 if (!test_bit(In_sync, &rs->dev[i].rdev.flags)) in parse_dev_params()
1016 ((!test_bit(In_sync, &rs->dev[i].rdev.flags) || in validate_raid_redundancy()
1063 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1089 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1186 set_bit(In_sync, &rs->dev[i].rdev.flags); in parse_raid_params()
1329 clear_bit(In_sync, &rd->rdev.flags); in parse_raid_params()
2213 (!test_bit(In_sync, &rdev->flags) && !rdev->recovery_offset)) { in super_load()
2361 if (!test_bit(In_sync, &r->flags)) { in super_init_validation()
2500 set_bit(In_sync, &rdev->flags); in super_validate()
[all …]
H A Draid1.c393 test_bit(In_sync, &rdev->flags))) in raid1_end_read_request()
508 if (test_bit(In_sync, &rdev->flags) && in raid1_end_write_request()
622 return !test_bit(In_sync, &rdev->flags) && in rdev_in_recovery()
1731 rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid1_status()
1759 if (test_bit(In_sync, &rdev->flags) && in raid1_error()
1770 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid1_error()
1803 i, !test_bit(In_sync, &rdev->flags), in print_conf()
1843 && !test_and_set_bit(In_sync, &repl->flags)) { in raid1_spare_active()
1846 !test_and_clear_bit(In_sync, &rdev->flags)) in raid1_spare_active()
1861 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid1_spare_active()
[all …]
H A Dmd.c1378 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1473 set_bit(In_sync, &rdev->flags); in super_90_validate()
1572 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1602 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1882 clear_bit(In_sync, &rdev->flags); in super_1_validate()
2062 set_bit(In_sync, &rdev->flags); in super_1_validate()
2125 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
2232 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync()
2718 !test_bit(In_sync, &rdev->flags) && in md_update_sb()
2926 if (test_bit(In_sync, &flags)) in state_show()
[all …]
H A Draid5.c704 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
729 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
2806 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2821 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2918 clear_bit(In_sync, &rdev->flags); in raid5_error()
3596 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3713 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3721 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3741 && !test_bit(In_sync, &rdev->flags) in want_replace()
4699 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
[all …]
H A Dmd.h225 In_sync, /* device is in_sync with rest of array */ enumerator
H A Draid5-ppl.c884 if (!rdev || (!test_bit(In_sync, &rdev->flags) && in ppl_recover_entry()
H A Dmd-bitmap.c366 if (!test_bit(In_sync, &rdev->flags) || in read_sb_page()