Home
last modified time | relevance | path

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

/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()
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()
1009 ((!test_bit(In_sync, &rs->dev[i].rdev.flags) || in validate_raid_redundancy()
1056 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1082 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1179 set_bit(In_sync, &rs->dev[i].rdev.flags); in parse_raid_params()
1322 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 …]
Draid10.c506 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request()
768 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1955 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status()
1988 test_bit(In_sync, &rdev->flags)) in _enough()
2036 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) { in raid10_error()
2044 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
2079 i, !test_bit(In_sync, &rdev->flags), in print_conf()
2110 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
2113 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
2128 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
[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()
1608 rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid1_status()
1638 if (test_bit(In_sync, &rdev->flags) && in raid1_error()
1649 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid1_error()
1683 i, !test_bit(In_sync, &rdev->flags), in print_conf()
1724 && !test_and_set_bit(In_sync, &repl->flags)) { in raid1_spare_active()
1727 !test_and_clear_bit(In_sync, &rdev->flags)) in raid1_spare_active()
1742 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid1_spare_active()
[all …]
Dmd.c1314 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1411 set_bit(In_sync, &rdev->flags); in super_90_validate()
1428 set_bit(In_sync, &rdev->flags); in super_90_validate()
1511 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1541 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1828 clear_bit(In_sync, &rdev->flags); in super_1_validate()
2009 set_bit(In_sync, &rdev->flags); in super_1_validate()
2021 set_bit(In_sync, &rdev->flags); in super_1_validate()
2074 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
2181 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync()
[all …]
Draid5.c647 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 …]
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.c152 if (! test_bit(In_sync, &rdev->flags) in read_sb_page()