Searched refs:In_sync (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/drivers/md/ |
D | dm-raid.c | 255 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) && in dev_parms() 282 if (!test_bit(In_sync, &rs->dev[i].rdev.flags)) in dev_parms() 388 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) || in validate_raid_redundancy() 428 !test_bit(In_sync, &rs->dev[d].rdev.flags)) && in validate_raid_redundancy() 454 !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() 1044 clear_bit(In_sync, &rdev->flags); in super_validate() [all …]
|
D | multipath.c | 46 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() 277 set_bit(In_sync, &rdev->flags); in multipath_add_disk() 300 if (test_bit(In_sync, &rdev->flags) || in multipath_remove_disk()
|
D | raid10.c | 498 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request() 831 if (!test_bit(In_sync, &rdev->flags) && in read_balance() 1598 test_bit(In_sync, &conf->mirrors[i].rdev->flags) ? "U" : "_"); in status() 1629 test_bit(In_sync, &rdev->flags)) in _enough() 1667 if (test_bit(In_sync, &rdev->flags) in error() 1675 if (test_and_clear_bit(In_sync, &rdev->flags)) in error() 1710 i, !test_bit(In_sync, &tmp->rdev->flags), in print_conf() 1742 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active() 1745 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active() 1760 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active() [all …]
|
D | raid1.c | 339 test_bit(In_sync, &conf->mirrors[mirror].rdev->flags))) in raid1_end_read_request() 446 if (test_bit(In_sync, &conf->mirrors[mirror].rdev->flags) && in raid1_end_write_request() 563 if (!test_bit(In_sync, &rdev->flags) && in read_balance() 1468 rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in status() 1486 if (test_bit(In_sync, &rdev->flags) in error() 1499 if (test_and_clear_bit(In_sync, &rdev->flags)) { in error() 1535 i, !test_bit(In_sync, &rdev->flags), in print_conf() 1581 && !test_and_set_bit(In_sync, &repl->flags)) { in raid1_spare_active() 1584 !test_and_clear_bit(In_sync, &rdev->flags)) in raid1_spare_active() 1599 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid1_spare_active() [all …]
|
D | md.c | 1068 clear_bit(In_sync, &rdev->flags); in super_90_validate() 1163 set_bit(In_sync, &rdev->flags); in super_90_validate() 1178 set_bit(In_sync, &rdev->flags); in super_90_validate() 1261 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync() 1291 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync() 1556 clear_bit(In_sync, &rdev->flags); in super_1_validate() 1670 set_bit(In_sync, &rdev->flags); in super_1_validate() 1679 set_bit(In_sync, &rdev->flags); in super_1_validate() 1726 !test_bit(In_sync, &rdev->flags)) { in super_1_sync() 1814 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync() [all …]
|
D | raid5.c | 602 else if (test_bit(In_sync, &rdev->flags)) in calc_degraded() 628 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() 2515 clear_bit(In_sync, &rdev->flags); in error() 3087 if (rdev && test_bit(In_sync, &rdev->flags)) in handle_failed_stripe() 3215 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync() 3222 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync() 3242 && !test_bit(In_sync, &rdev->flags) in want_replace() 4105 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe() [all …]
|
D | md.h | 132 In_sync, /* device is in_sync with rest of array */ enumerator
|
D | bitmap.c | 155 if (! test_bit(In_sync, &rdev->flags) in read_sb_page()
|