Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/md/
Ddm-raid.c190 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()
Dmultipath.c46 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()
Draid1.c446 || !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 …]
Draid10.c512 !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 …]
Dmd.c1104 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 …]
Draid5.c393 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 …]
Dmd.h74 #define In_sync 2 /* device is in_sync with rest of array */ macro
Dbitmap.c209 if (! test_bit(In_sync, &rdev->flags) in read_sb_page()