Searched refs:In_sync (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/md/ |
| H A D | raid10.c | 540 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request() 784 if (!test_bit(In_sync, &rdev->flags) && in read_balance() 1918 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status() 1949 test_bit(In_sync, &rdev->flags)) in _enough() 1995 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) { in raid10_error() 2003 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error() 2036 i, !test_bit(In_sync, &rdev->flags), in print_conf() 2067 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active() 2070 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active() 2085 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active() [all …]
|
| H A D | raid1.c | 415 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() 1715 rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid1_status() 1743 if (test_bit(In_sync, &rdev->flags) && in raid1_error() 1753 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid1_error() 1786 i, !test_bit(In_sync, &rdev->flags), in print_conf() 1826 && !test_and_set_bit(In_sync, &repl->flags)) { in raid1_spare_active() 1829 !test_and_clear_bit(In_sync, &rdev->flags)) in raid1_spare_active() 1844 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid1_spare_active() [all …]
|
| H A D | md.c | 1486 clear_bit(In_sync, &rdev->flags); in super_90_validate() 1581 set_bit(In_sync, &rdev->flags); in super_90_validate() 1680 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync() 1710 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync() 2001 clear_bit(In_sync, &rdev->flags); in super_1_validate() 2184 set_bit(In_sync, &rdev->flags); in super_1_validate() 2248 !test_bit(In_sync, &rdev->flags)) { in super_1_sync() 2355 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync() 2842 !test_bit(In_sync, &rdev->flags) && in md_update_sb() 3050 if (test_bit(In_sync, &flags)) in state_show() [all …]
|
| H A D | raid5.c | 708 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() 2823 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request() 2837 if (!(set_bad && test_bit(In_sync, &rdev->flags))) in raid5_end_read_request() 2933 clear_bit(In_sync, &rdev->flags); in raid5_error() 3610 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe() 3726 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync() 3734 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync() 3826 !test_bit(In_sync, &rdev->flags) && in want_replace() 4785 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe() [all …]
|
| H A D | md.h | 229 In_sync, /* device is in_sync with rest of array */ enumerator
|
| H A D | raid5-ppl.c | 886 if (!rdev || (!test_bit(In_sync, &rdev->flags) && in ppl_recover_entry()
|
| H A D | md-llbitmap.c | 685 !test_bit(In_sync, &rdev->flags)) in llbitmap_read_page()
|
| H A D | md-bitmap.c | 359 if (!test_bit(In_sync, &rdev->flags) || in read_sb_page()
|