Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/md/
H A 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()
H A Draid10.c505 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 …]
H A Ddm-raid.c871 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 …]
H A Draid1.c387 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 …]
H A Dmd.c1326 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1423 set_bit(In_sync, &rdev->flags); in super_90_validate()
1440 set_bit(In_sync, &rdev->flags); in super_90_validate()
1523 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1553 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1840 clear_bit(In_sync, &rdev->flags); in super_1_validate()
1989 set_bit(In_sync, &rdev->flags); in super_1_validate()
2001 set_bit(In_sync, &rdev->flags); in super_1_validate()
2054 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
2161 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync()
[all …]
H A 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()
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()
2885 clear_bit(In_sync, &rdev->flags); in raid5_error()
3561 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3689 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3696 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3718 && !test_bit(In_sync, &rdev->flags) in want_replace()
4685 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
[all …]
H A Dmd.h144 In_sync, /* device is in_sync with rest of array */ enumerator
H A Draid5-ppl.c896 if (!rdev || (!test_bit(In_sync, &rdev->flags) && in ppl_recover_entry()
H A Dmd-bitmap.c159 if (! test_bit(In_sync, &rdev->flags) in read_sb_page()