Searched refs:In_sync (Results 1 – 8 of 8) sorted by relevance
/linux-2.6.39/drivers/md/ |
D | dm-raid.c | 190 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) && in dev_parms() 209 if (!test_bit(In_sync, &rs->dev[i].rdev.flags)) in dev_parms() 275 set_bit(In_sync, &rs->dev[i].rdev.flags); in parse_raid_params() 312 clear_bit(In_sync, &rs->dev[value].rdev.flags); in parse_raid_params() 528 else if (test_bit(In_sync, &rs->dev[i].rdev.flags)) in raid_status() 551 !test_bit(In_sync, &rs->dev[i].rdev.flags)) in raid_status() 569 !test_bit(In_sync, &rs->dev[i].rdev.flags)) in raid_status()
|
D | multipath.c | 46 if (rdev && test_bit(In_sync, &rdev->flags)) { in multipath_map() 153 test_bit(In_sync, &conf->multipaths[i].rdev->flags) ? "U" : "_"); in multipath_status() 205 clear_bit(In_sync, &rdev->flags); in multipath_error() 280 set_bit(In_sync, &rdev->flags); in multipath_add_disk() 303 if (test_bit(In_sync, &rdev->flags) || in multipath_remove_disk()
|
D | raid1.c | 446 || !test_bit(In_sync, &rdev->flags)) in read_balance() 478 || !test_bit(In_sync, &rdev->flags) in read_balance() 499 if (!test_bit(In_sync, &rdev->flags)) { in read_balance() 941 rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in status() 959 if (test_bit(In_sync, &rdev->flags) in error() 970 if (test_and_clear_bit(In_sync, &rdev->flags)) { in error() 1008 i, !test_bit(In_sync, &rdev->flags), in print_conf() 1040 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid1_spare_active() 1109 if (test_bit(In_sync, &rdev->flags) || in raid1_remove_disk() 1444 test_bit(In_sync, &rdev->flags) && in fix_read_error() [all …]
|
D | raid10.c | 512 !test_bit(In_sync, &rdev->flags)) { in read_balance() 530 !test_bit(In_sync, &rdev->flags)) { in read_balance() 552 !test_bit(In_sync, &rdev->flags)) in read_balance() 971 test_bit(In_sync, &conf->mirrors[i].rdev->flags) ? "U" : "_"); in status() 986 if (test_bit(In_sync, &rdev->flags) in error() 996 if (test_and_clear_bit(In_sync, &rdev->flags)) { in error() 1033 i, !test_bit(In_sync, &tmp->rdev->flags), in print_conf() 1085 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active() 1166 if (test_bit(In_sync, &rdev->flags) || in raid10_remove_disk() 1512 test_bit(In_sync, &rdev->flags)) { in fix_read_error() [all …]
|
D | md.c | 1104 clear_bit(In_sync, &rdev->flags); in super_90_validate() 1187 set_bit(In_sync, &rdev->flags); in super_90_validate() 1201 set_bit(In_sync, &rdev->flags); in super_90_validate() 1285 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync() 1315 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync() 1518 clear_bit(In_sync, &rdev->flags); in super_1_validate() 1600 set_bit(In_sync, &rdev->flags); in super_1_validate() 1607 set_bit(In_sync, &rdev->flags); in super_1_validate() 1649 !test_bit(In_sync, &rdev->flags)) { in super_1_sync() 1687 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync() [all …]
|
D | raid5.c | 393 else if (test_bit(In_sync, &rdev->flags)) in has_failed() 417 else if (test_bit(In_sync, &rdev->flags)) in has_failed() 1705 if (test_and_clear_bit(In_sync, &rdev->flags)) { in error() 2242 if (rdev && test_bit(In_sync, &rdev->flags)) in handle_failed_stripe() 3081 else if (test_bit(In_sync, &rdev->flags)) in handle_stripe5() 3372 else if (test_bit(In_sync, &rdev->flags)) in handle_stripe6() 3837 if (rdev && test_bit(In_sync, &rdev->flags)) { in chunk_aligned_read() 4858 if (test_bit(In_sync, &rdev->flags)) { in setup_conf() 5040 if (test_bit(In_sync, &rdev->flags)) { in run() 5238 test_bit(In_sync, &conf->disks[i].rdev->flags) ? "U" : "_"); in status() [all …]
|
D | md.h | 74 #define In_sync 2 /* device is in_sync with rest of array */ macro
|
D | bitmap.c | 209 if (! test_bit(In_sync, &rdev->flags) in read_sb_page()
|