Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Dmd-multipath.c38 if (rdev && test_bit(In_sync, &rdev->flags) && in multipath_map()
144 seq_printf (seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in multipath_status()
170 if (test_and_clear_bit(In_sync, &rdev->flags)) { in multipath_error()
231 set_bit(In_sync, &rdev->flags); in multipath_add_disk()
253 if (test_bit(In_sync, &rdev->flags) || in multipath_remove_disk()
Ddm-raid.c870 if (!test_bit(In_sync, &rs->dev[i].rdev.flags) && in parse_dev_params()
897 if (!test_bit(In_sync, &rs->dev[i].rdev.flags)) in parse_dev_params()
1009 ((!test_bit(In_sync, &rs->dev[i].rdev.flags) || in validate_raid_redundancy()
1056 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1082 !test_bit(In_sync, &rs->dev[i].rdev.flags)) && in validate_raid_redundancy()
1179 set_bit(In_sync, &rs->dev[i].rdev.flags); in parse_raid_params()
1322 clear_bit(In_sync, &rd->rdev.flags); in parse_raid_params()
2184 (!test_bit(In_sync, &rdev->flags) && !rdev->recovery_offset)) { in super_load()
2334 if (!test_bit(In_sync, &r->flags)) { in super_init_validation()
2475 set_bit(In_sync, &rdev->flags); in super_validate()
[all …]
Draid10.c533 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request()
787 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1955 seq_printf(seq, "%s", rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid10_status()
1988 test_bit(In_sync, &rdev->flags)) in _enough()
2035 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) { in raid10_error()
2043 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid10_error()
2077 i, !test_bit(In_sync, &rdev->flags), in print_conf()
2108 && !test_and_set_bit(In_sync, &tmp->replacement->flags)) { in raid10_spare_active()
2111 || !test_and_clear_bit(In_sync, &tmp->rdev->flags)) in raid10_spare_active()
2126 && !test_and_set_bit(In_sync, &tmp->rdev->flags)) { in raid10_spare_active()
[all …]
Draid1.c393 test_bit(In_sync, &rdev->flags))) in raid1_end_read_request()
514 if (test_bit(In_sync, &rdev->flags) && in raid1_end_write_request()
651 if (!test_bit(In_sync, &rdev->flags) && in read_balance()
1637 rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_"); in raid1_status()
1666 if (test_bit(In_sync, &rdev->flags) && in raid1_error()
1677 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid1_error()
1710 i, !test_bit(In_sync, &rdev->flags), in print_conf()
1751 && !test_and_set_bit(In_sync, &repl->flags)) { in raid1_spare_active()
1754 !test_and_clear_bit(In_sync, &rdev->flags)) in raid1_spare_active()
1769 && !test_and_set_bit(In_sync, &rdev->flags)) { in raid1_spare_active()
[all …]
Dmd.c1273 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1370 set_bit(In_sync, &rdev->flags); in super_90_validate()
1387 set_bit(In_sync, &rdev->flags); in super_90_validate()
1470 int is_active = test_bit(In_sync, &rdev2->flags); in super_90_sync()
1500 if (test_bit(In_sync, &rdev2->flags)) in super_90_sync()
1784 clear_bit(In_sync, &rdev->flags); in super_1_validate()
1933 set_bit(In_sync, &rdev->flags); in super_1_validate()
1945 set_bit(In_sync, &rdev->flags); in super_1_validate()
1998 !test_bit(In_sync, &rdev->flags)) { in super_1_sync()
2105 else if (test_bit(In_sync, &rdev2->flags)) in super_1_sync()
[all …]
Draid5.c703 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
729 else if (test_bit(In_sync, &rdev->flags)) in raid5_calc_degraded()
2849 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2864 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2966 clear_bit(In_sync, &rdev->flags); in raid5_error()
3666 if (rdev && test_bit(In_sync, &rdev->flags) && in handle_failed_stripe()
3794 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3801 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3823 && !test_bit(In_sync, &rdev->flags) in want_replace()
4791 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
[all …]
Dmd.h144 In_sync, /* device is in_sync with rest of array */ enumerator
Draid5-ppl.c888 if (!rdev || (!test_bit(In_sync, &rdev->flags) && in ppl_recover_entry()
Dmd-bitmap.c159 if (! test_bit(In_sync, &rdev->flags) in read_sb_page()