Home
last modified time | relevance | path

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

/linux/drivers/md/
H A Draid10.c526 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request()
770 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1925 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status()
1956 test_bit(In_sync, &rdev->flags)) in _enough()
2002 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) { in raid10_error()
2010 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
2043 i, !test_bit(In_sync, &rdev->flags), in print_conf()
2074 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
2077 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
2092 && !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()
2363 if (!test_bit(In_sync, &r->flags)) { in super_init_validation()
2502 set_bit(In_sync, &rdev->flags); in super_validate()
[all …]
H A Draid1.c392 test_bit(In_sync, &rdev->flags))) in raid1_end_read_request()
507 if (test_bit(In_sync, &rdev->flags) && in raid1_end_write_request()
621 return !test_bit(In_sync, &rdev->flags) && in rdev_in_recovery()
1729 rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid1_status()
1757 if (test_bit(In_sync, &rdev->flags) && in raid1_error()
1767 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid1_error()
1800 i, !test_bit(In_sync, &rdev->flags), in print_conf()
1840 && !test_and_set_bit(In_sync, &repl->flags)) { in raid1_spare_active()
1843 !test_and_clear_bit(In_sync, &rdev->flags)) in raid1_spare_active()
1858 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid1_spare_active()
[all …]
H A Dmd.c1479 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1574 set_bit(In_sync, &rdev->flags); in super_90_validate()
1673 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1703 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1987 clear_bit(In_sync, &rdev->flags); in super_1_validate()
2170 set_bit(In_sync, &rdev->flags); in super_1_validate()
2234 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
2341 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync()
2826 !test_bit(In_sync, &rdev->flags) && in md_update_sb()
3034 if (test_bit(In_sync, &flags)) in state_show()
[all …]
H A Draid5.c708 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
733 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
2810 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2824 if (!(set_bad && test_bit(In_sync, &rdev->flags))) in raid5_end_read_request()
2920 clear_bit(In_sync, &rdev->flags); in raid5_error()
3597 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()
4711 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
[all …]
H A Dmd.h230 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.c358 if (!test_bit(In_sync, &rdev->flags) || in read_sb_page()