Home
last modified time | relevance | path

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

/Linux-v5.10/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.c505 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request()
759 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1559 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status()
1592 test_bit(In_sync, &rdev->flags)) in _enough()
1630 if (test_bit(In_sync, &rdev->flags) && !mddev->fail_last_dev in raid10_error()
1638 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
1675 i, !test_bit(In_sync, &rdev->flags), in print_conf()
1706 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
1709 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
1724 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
[all …]
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()
1009 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) || in validate_raid_redundancy()
1055 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1081 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1178 set_bit(In_sync, &rs->dev[i].rdev.flags); in parse_raid_params()
1321 clear_bit(In_sync, &rd->rdev.flags); in parse_raid_params()
2176 (!test_bit(In_sync, &rdev->flags) && !rdev->recovery_offset)) { in super_load()
2326 if (!test_bit(In_sync, &r->flags)) { in super_init_validation()
2467 set_bit(In_sync, &rdev->flags); in super_validate()
[all …]
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 …]
Dmd.c1329 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1426 set_bit(In_sync, &rdev->flags); in super_90_validate()
1443 set_bit(In_sync, &rdev->flags); in super_90_validate()
1526 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1556 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1843 clear_bit(In_sync, &rdev->flags); in super_1_validate()
1992 set_bit(In_sync, &rdev->flags); in super_1_validate()
2004 set_bit(In_sync, &rdev->flags); in super_1_validate()
2057 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
2164 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()
2765 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2780 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2881 if (test_bit(In_sync, &rdev->flags) && in raid5_error()
2893 clear_bit(In_sync, &rdev->flags); in raid5_error()
3563 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3691 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3698 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3720 && !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()