Home
last modified time | relevance | path

Searched refs:In_sync (Results 1 – 9 of 9) 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.c415 test_bit(In_sync, &rdev->flags))) in raid1_end_read_request()
530 if (test_bit(In_sync, &rdev->flags) && in raid1_end_write_request()
644 return !test_bit(In_sync, &rdev->flags) && in rdev_in_recovery()
1745 rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid1_status()
1773 if (test_bit(In_sync, &rdev->flags) && in raid1_error()
1783 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid1_error()
1816 i, !test_bit(In_sync, &rdev->flags), in print_conf()
1856 && !test_and_set_bit(In_sync, &repl->flags)) { in raid1_spare_active()
1859 !test_and_clear_bit(In_sync, &rdev->flags)) in raid1_spare_active()
1874 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid1_spare_active()
[all …]
H A Dmd.c1484 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1579 set_bit(In_sync, &rdev->flags); in super_90_validate()
1678 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1708 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1992 clear_bit(In_sync, &rdev->flags); in super_1_validate()
2175 set_bit(In_sync, &rdev->flags); in super_1_validate()
2239 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
2346 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync()
2833 !test_bit(In_sync, &rdev->flags) && in md_update_sb()
3041 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()
4699 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
[all …]
H A Dmd.h229 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-llbitmap.c532 !test_bit(In_sync, &rdev->flags)) in llbitmap_read_page()
H A Dmd-bitmap.c359 if (!test_bit(In_sync, &rdev->flags) || in read_sb_page()