Lines Matching refs:reconstruct_state
161 return sh->check_state || sh->reconstruct_state || in stripe_operations_active()
2039 if (sh->reconstruct_state == reconstruct_state_drain_run) in ops_complete_reconstruct()
2040 sh->reconstruct_state = reconstruct_state_drain_result; in ops_complete_reconstruct()
2041 else if (sh->reconstruct_state == reconstruct_state_prexor_drain_run) in ops_complete_reconstruct()
2042 sh->reconstruct_state = reconstruct_state_prexor_drain_result; in ops_complete_reconstruct()
2044 BUG_ON(sh->reconstruct_state != reconstruct_state_run); in ops_complete_reconstruct()
2045 sh->reconstruct_state = reconstruct_state_result; in ops_complete_reconstruct()
2091 if (head_sh->reconstruct_state == reconstruct_state_prexor_drain_run) { in ops_run_reconstruct5()
2183 if (sh->reconstruct_state == reconstruct_state_prexor_drain_run) { in ops_run_reconstruct6()
3417 sh->reconstruct_state = reconstruct_state_drain_run; in schedule_reconstruction()
3420 sh->reconstruct_state = reconstruct_state_run; in schedule_reconstruction()
3454 sh->reconstruct_state = reconstruct_state_prexor_drain_run; in schedule_reconstruction()
4042 !sh->reconstruct_state) { in handle_stripe_fill()
4960 sh->reconstruct_state = head_sh->reconstruct_state; in break_stripe_batch_list()
5040 sh->check_state, sh->reconstruct_state); in handle_stripe()
5083 sh->reconstruct_state = 0; in handle_stripe()
5095 if (sh->reconstruct_state == reconstruct_state_prexor_drain_result) in handle_stripe()
5097 if (sh->reconstruct_state == reconstruct_state_drain_result || in handle_stripe()
5098 sh->reconstruct_state == reconstruct_state_prexor_drain_result) { in handle_stripe()
5099 sh->reconstruct_state = reconstruct_state_idle; in handle_stripe()
5185 if (!sh->reconstruct_state && !sh->check_state && !sh->log_io) { in handle_stripe()
5276 if (sh->reconstruct_state == reconstruct_state_result) { in handle_stripe()
5296 sh->reconstruct_state = reconstruct_state_idle; in handle_stripe()
5306 !sh->reconstruct_state) { in handle_stripe()
5311 } else if (s.expanded && !sh->reconstruct_state && s.locked == 0) { in handle_stripe()