Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/md/
Ddm-raid.c257 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) && in dev_parms()
284 if (!test_bit(In_sync, &rs->dev[i].rdev.flags)) in dev_parms()
390 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) || in validate_raid_redundancy()
430 !test_bit(In_sync, &rs->dev[d].rdev.flags)) && in validate_raid_redundancy()
456 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
547 set_bit(In_sync, &rs->dev[i].rdev.flags); in parse_raid_params()
602 clear_bit(In_sync, &rs->dev[value].rdev.flags); in parse_raid_params()
875 (!test_bit(In_sync, &rdev->flags) && !rdev->recovery_offset)) { in super_load()
964 if (!test_bit(In_sync, &r->flags)) { in super_init_validation()
1047 clear_bit(In_sync, &rdev->flags); in super_validate()
[all …]
Dmultipath.c46 if (rdev && test_bit(In_sync, &rdev->flags)) { in multipath_map()
154 test_bit(In_sync, &conf->multipaths[i].rdev->flags) ? "U" : "_"); in multipath_status()
202 if (test_and_clear_bit(In_sync, &rdev->flags)) { in multipath_error()
268 set_bit(In_sync, &rdev->flags); in multipath_add_disk()
290 if (test_bit(In_sync, &rdev->flags) || in multipath_remove_disk()
Draid10.c498 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request()
742 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1509 test_bit(In_sync, &conf->mirrors[i].rdev->flags) ? "U" : "_"); in status()
1540 test_bit(In_sync, &rdev->flags)) in _enough()
1578 if (test_bit(In_sync, &rdev->flags) in error()
1586 if (test_and_clear_bit(In_sync, &rdev->flags)) in error()
1622 i, !test_bit(In_sync, &tmp->rdev->flags), in print_conf()
1654 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
1657 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
1672 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
[all …]
Draid1.c342 test_bit(In_sync, &conf->mirrors[mirror].rdev->flags))) in raid1_end_read_request()
448 if (test_bit(In_sync, &conf->mirrors[mirror].rdev->flags) && in raid1_end_write_request()
564 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1436 rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in status()
1454 if (test_bit(In_sync, &rdev->flags) in error()
1467 if (test_and_clear_bit(In_sync, &rdev->flags)) { in error()
1504 i, !test_bit(In_sync, &rdev->flags), in print_conf()
1550 && !test_and_set_bit(In_sync, &repl->flags)) { in raid1_spare_active()
1553 !test_and_clear_bit(In_sync, &rdev->flags)) in raid1_spare_active()
1568 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid1_spare_active()
[all …]
Dmd.c1053 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1148 set_bit(In_sync, &rdev->flags); in super_90_validate()
1163 set_bit(In_sync, &rdev->flags); in super_90_validate()
1246 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1276 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1541 clear_bit(In_sync, &rdev->flags); in super_1_validate()
1669 set_bit(In_sync, &rdev->flags); in super_1_validate()
1680 set_bit(In_sync, &rdev->flags); in super_1_validate()
1729 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
1826 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync()
[all …]
Draid5.c600 else if (test_bit(In_sync, &rdev->flags)) in calc_degraded()
626 else if (test_bit(In_sync, &rdev->flags)) in calc_degraded()
2384 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2397 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2512 clear_bit(In_sync, &rdev->flags); in error()
3085 if (rdev && test_bit(In_sync, &rdev->flags)) in handle_failed_stripe()
3219 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3226 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3246 && !test_bit(In_sync, &rdev->flags) in want_replace()
4114 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
[all …]
Dmd.h139 In_sync, /* device is in_sync with rest of array */ enumerator
Dbitmap.c155 if (! test_bit(In_sync, &rdev->flags) in read_sb_page()