Home
last modified time | relevance | path

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

/linux-6.15/drivers/md/
H A Draid10.c523 if (test_bit(In_sync, &rdev->flags) && in raid10_end_write_request()
1953 test_bit(In_sync, &rdev->flags)) in _enough()
2154 clear_bit(In_sync, &rdev->flags); in raid10_add_disk()
2187 if (test_bit(In_sync, &rdev->flags) || in raid10_remove_disk()
3497 if (mrdev && !test_bit(In_sync, in raid10_sync_request()
3544 test_bit(In_sync, in raid10_sync_request()
4453 if (!test_bit(In_sync, &rdev->flags) in raid10_start_reshape()
4551 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
4561 set_bit(In_sync, &rdev->flags); in raid10_start_reshape()
5104 clear_bit(In_sync, &rdev->flags); in raid10_finish_reshape()
[all …]
H A Ddm-raid.c904 if (!test_bit(In_sync, &rs->dev[i].rdev.flags)) in parse_dev_params()
1186 set_bit(In_sync, &rs->dev[i].rdev.flags); in parse_raid_params()
1329 clear_bit(In_sync, &rd->rdev.flags); in parse_raid_params()
2365 if (!test_bit(In_sync, &r->flags)) { in super_init_validation()
2504 set_bit(In_sync, &rdev->flags); in super_validate()
2518 clear_bit(In_sync, &rdev->flags); in super_validate()
2768 clear_bit(In_sync, &rdev->flags); in rs_setup_takeover()
2892 clear_bit(In_sync, &rdev->flags); in rs_setup_reshape()
3428 !test_bit(In_sync, &rdev->flags))) in __raid_dev_status()
3506 !test_bit(In_sync, &rdev->flags)) { in rs_get_progress()
[all …]
H A Draid1.c392 test_bit(In_sync, &rdev->flags))) in raid1_end_read_request()
508 if (test_bit(In_sync, &rdev->flags) && in raid1_end_write_request()
622 return !test_bit(In_sync, &rdev->flags) && in rdev_in_recovery()
1759 if (test_bit(In_sync, &rdev->flags) && in raid1_error()
1770 if (test_and_clear_bit(In_sync, &rdev->flags)) in raid1_error()
1803 i, !test_bit(In_sync, &rdev->flags), in print_conf()
1902 if (!rdev || test_bit(In_sync, &rdev->flags) || in raid1_remove_conf()
1966 clear_bit(In_sync, &rdev->flags); in raid1_add_disk()
2426 (test_bit(In_sync, &rdev->flags) || in fix_read_error()
2885 } else if (!test_bit(In_sync, &rdev->flags)) { in raid1_sync_request()
[all …]
H A Dmd.c1338 clear_bit(In_sync, &rdev->flags); in super_90_validate()
1433 set_bit(In_sync, &rdev->flags); in super_90_validate()
1842 clear_bit(In_sync, &rdev->flags); in super_1_validate()
2022 set_bit(In_sync, &rdev->flags); in super_1_validate()
2886 if (test_bit(In_sync, &flags)) in state_show()
2898 !test_bit(In_sync, &flags)) in state_show()
2994 set_bit(In_sync, &rdev->flags); in state_store()
3181 clear_bit(In_sync, &rdev->flags); in slot_store()
3200 set_bit(In_sync, &rdev->flags); in slot_store()
3426 set_bit(In_sync, &rdev->flags); in recovery_start_store()
[all …]
H A Draid5.c2926 clear_bit(In_sync, &rdev->flags); in raid5_error()
7952 if (test_bit(In_sync, &rdev->flags)) in raid5_run()
8187 clear_bit(In_sync, &rdev->flags); in raid5_remove_disk()
8189 if (test_bit(In_sync, &rdev->flags) || in raid5_remove_disk()
8281 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8298 clear_bit(In_sync, &rdev->flags); in raid5_add_disk()
8441 if (!test_bit(In_sync, &rdev->flags) in raid5_start_reshape()
8506 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8516 set_bit(In_sync, &rdev->flags); in raid5_start_reshape()
8589 clear_bit(In_sync, &rdev->flags); in raid5_finish_reshape()
[all …]
H A Dmd.h225 In_sync, /* device is in_sync with rest of array */ enumerator
H A Draid5-ppl.c884 if (!rdev || (!test_bit(In_sync, &rdev->flags) && in ppl_recover_entry()
H A Dmd-bitmap.c356 if (!test_bit(In_sync, &rdev->flags) || in read_sb_page()