Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/md/
Dmd-multipath.c38 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()
Draid10.c506 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request()
760 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1890 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status()
1923 test_bit(In_sync, &rdev->flags)) in _enough()
1961 if (test_bit(In_sync, &rdev->flags) && !mddev->fail_last_dev in raid10_error()
1969 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
2006 i, !test_bit(In_sync, &rdev->flags), in print_conf()
2037 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
2040 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
2055 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
[all …]
Ddm-raid.c870 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) && in parse_dev_params()
897 if (!test_bit(In_sync, &rs->dev[i].rdev.flags)) in parse_dev_params()
1008 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) || in validate_raid_redundancy()
1054 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1080 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1177 set_bit(In_sync, &rs->dev[i].rdev.flags); in parse_raid_params()
1320 clear_bit(In_sync, &rd->rdev.flags); in parse_raid_params()
2182 (!test_bit(In_sync, &rdev->flags) && !rdev->recovery_offset)) { in super_load()
2332 if (!test_bit(In_sync, &r->flags)) { in super_init_validation()
2473 set_bit(In_sync, &rdev->flags); in super_validate()
[all …]
Draid1.c389 test_bit(In_sync, &rdev->flags))) in raid1_end_read_request()
511 if (test_bit(In_sync, &rdev->flags) && in raid1_end_write_request()
648 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1613 rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid1_status()
1632 if (test_bit(In_sync, &rdev->flags) && !mddev->fail_last_dev in raid1_error()
1645 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid1_error()
1679 i, !test_bit(In_sync, &rdev->flags), in print_conf()
1720 && !test_and_set_bit(In_sync, &repl->flags)) { in raid1_spare_active()
1723 !test_and_clear_bit(In_sync, &rdev->flags)) in raid1_spare_active()
1738 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid1_spare_active()
[all …]
Dmd.c1294 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1391 set_bit(In_sync, &rdev->flags); in super_90_validate()
1408 set_bit(In_sync, &rdev->flags); in super_90_validate()
1491 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1521 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1808 clear_bit(In_sync, &rdev->flags); in super_1_validate()
1957 set_bit(In_sync, &rdev->flags); in super_1_validate()
1969 set_bit(In_sync, &rdev->flags); in super_1_validate()
2022 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
2129 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync()
[all …]
Draid5.c646 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
672 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
2766 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2781 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2882 if (test_bit(In_sync, &rdev->flags) && in raid5_error()
2894 clear_bit(In_sync, &rdev->flags); in raid5_error()
3564 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3692 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3699 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3721 && !test_bit(In_sync, &rdev->flags) in want_replace()
[all …]
Dmd.h144 In_sync, /* device is in_sync with rest of array */ enumerator
Draid5-ppl.c896 if (!rdev || (!test_bit(In_sync, &rdev->flags) && in ppl_recover_entry()
Dmd-bitmap.c159 if (! test_bit(In_sync, &rdev->flags) in read_sb_page()