Lines Matching refs:recovery
129 if (test_bit(MD_RECOVERY_SYNC, &conf->mddev->recovery) || in r10buf_pool_alloc()
130 test_bit(MD_RECOVERY_RESHAPE, &conf->mddev->recovery)) in r10buf_pool_alloc()
174 &conf->mddev->recovery)) { in r10buf_pool_alloc()
462 &rdev->mddev->recovery); in raid10_end_write_request()
981 &conf->mddev->recovery) && in wait_barrier()
1039 if (!test_bit(MD_RECOVERY_RESHAPE, &rdev->mddev->recovery) || in choose_data_offset()
1104 while (test_bit(MD_RECOVERY_RESHAPE, &mddev->recovery) && in regular_request_wait()
1306 if (test_bit(MD_RECOVERY_RESHAPE, &mddev->recovery) && in raid10_write_request()
1644 set_bit(MD_RECOVERY_INTR, &mddev->recovery); in raid10_error()
1965 &rdev->mddev->recovery); in end_sync_write()
2055 if (test_bit(MD_RECOVERY_CHECK, &mddev->recovery)) in sync_request_write()
2176 &rdev->mddev->recovery); in fix_recovery_read_error()
2199 &mddev->recovery); in fix_recovery_read_error()
2304 &rdev->mddev->recovery); in r10_sync_page_io()
2801 if (test_bit(MD_RECOVERY_SYNC, &conf->mddev->recovery) || in raid10_alloc_init_r10buf()
2802 test_bit(MD_RECOVERY_RESHAPE, &conf->mddev->recovery)) in raid10_alloc_init_r10buf()
2913 !test_bit(MD_RECOVERY_SYNC, &mddev->recovery) && in raid10_sync_request()
2914 !test_bit(MD_RECOVERY_REQUESTED, &mddev->recovery) && in raid10_sync_request()
2915 !test_bit(MD_RECOVERY_RESHAPE, &mddev->recovery) && in raid10_sync_request()
2927 if (test_bit(MD_RECOVERY_SYNC, &mddev->recovery) || in raid10_sync_request()
2928 test_bit(MD_RECOVERY_RESHAPE, &mddev->recovery)) in raid10_sync_request()
2943 if (test_bit(MD_RECOVERY_RESHAPE, &mddev->recovery)) { in raid10_sync_request()
2950 if (test_bit(MD_RECOVERY_SYNC, &mddev->recovery)) in raid10_sync_request()
2963 && test_bit(MD_RECOVERY_SYNC, &mddev->recovery)) { in raid10_sync_request()
2984 if (test_bit(MD_RECOVERY_RESHAPE, &mddev->recovery)) in raid10_sync_request()
3028 if (!test_bit(MD_RECOVERY_SYNC, &mddev->recovery)) { in raid10_sync_request()
3240 &mddev->recovery)) in raid10_sync_request()
3303 &mddev->recovery)) { in raid10_sync_request()
3433 test_bit(MD_RECOVERY_SYNC, &mddev->recovery)) { in raid10_sync_request()
3909 clear_bit(MD_RECOVERY_SYNC, &mddev->recovery); in raid10_run()
3910 clear_bit(MD_RECOVERY_CHECK, &mddev->recovery); in raid10_run()
3911 set_bit(MD_RECOVERY_RESHAPE, &mddev->recovery); in raid10_run()
3912 set_bit(MD_RECOVERY_RUNNING, &mddev->recovery); in raid10_run()
3981 set_bit(MD_RECOVERY_NEEDED, &mddev->recovery); in raid10_resize()
4175 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in raid10_start_reshape()
4309 clear_bit(MD_RECOVERY_SYNC, &mddev->recovery); in raid10_start_reshape()
4310 clear_bit(MD_RECOVERY_CHECK, &mddev->recovery); in raid10_start_reshape()
4311 clear_bit(MD_RECOVERY_DONE, &mddev->recovery); in raid10_start_reshape()
4312 set_bit(MD_RECOVERY_RESHAPE, &mddev->recovery); in raid10_start_reshape()
4313 set_bit(MD_RECOVERY_RUNNING, &mddev->recovery); in raid10_start_reshape()
4327 mddev->recovery = 0; in raid10_start_reshape()
4506 test_bit(MD_RECOVERY_INTR, &mddev->recovery)); in reshape_request()
4507 if (test_bit(MD_RECOVERY_INTR, &mddev->recovery)) { in reshape_request()
4535 set_bit(MD_RECOVERY_INTR, &mddev->recovery); in reshape_request()
4706 if (test_bit(MD_RECOVERY_INTR, &conf->mddev->recovery)) in end_reshape()
4748 set_bit(MD_RECOVERY_INTR, &mddev->recovery); in handle_reshape_read_error()
4799 &mddev->recovery); in handle_reshape_read_error()
4850 if (test_bit(MD_RECOVERY_INTR, &mddev->recovery)) in raid10_finish_reshape()
4856 set_bit(MD_RECOVERY_NEEDED, &mddev->recovery); in raid10_finish_reshape()