Lines Matching refs:reconstruct_state
245 return sh->check_state || sh->reconstruct_state || in stripe_operations_active()
1685 if (sh->reconstruct_state == reconstruct_state_drain_run) in ops_complete_reconstruct()
1686 sh->reconstruct_state = reconstruct_state_drain_result; in ops_complete_reconstruct()
1687 else if (sh->reconstruct_state == reconstruct_state_prexor_drain_run) in ops_complete_reconstruct()
1688 sh->reconstruct_state = reconstruct_state_prexor_drain_result; in ops_complete_reconstruct()
1690 BUG_ON(sh->reconstruct_state != reconstruct_state_run); in ops_complete_reconstruct()
1691 sh->reconstruct_state = reconstruct_state_result; in ops_complete_reconstruct()
1734 if (head_sh->reconstruct_state == reconstruct_state_prexor_drain_run) { in ops_run_reconstruct5()
1815 if (sh->reconstruct_state == reconstruct_state_prexor_drain_run) { in ops_run_reconstruct6()
2887 sh->reconstruct_state = reconstruct_state_drain_run; in schedule_reconstruction()
2890 sh->reconstruct_state = reconstruct_state_run; in schedule_reconstruction()
2921 sh->reconstruct_state = reconstruct_state_prexor_drain_run; in schedule_reconstruction()
3433 !sh->reconstruct_state) in handle_stripe_fill()
4254 sh->reconstruct_state = head_sh->reconstruct_state; in break_stripe_batch_list()
4324 sh->check_state, sh->reconstruct_state); in handle_stripe()
4358 sh->reconstruct_state = 0; in handle_stripe()
4370 if (sh->reconstruct_state == reconstruct_state_prexor_drain_result) in handle_stripe()
4372 if (sh->reconstruct_state == reconstruct_state_drain_result || in handle_stripe()
4373 sh->reconstruct_state == reconstruct_state_prexor_drain_result) { in handle_stripe()
4374 sh->reconstruct_state = reconstruct_state_idle; in handle_stripe()
4445 if (s.to_write && !sh->reconstruct_state && !sh->check_state) in handle_stripe()
4512 if (sh->reconstruct_state == reconstruct_state_result) { in handle_stripe()
4530 sh->reconstruct_state = reconstruct_state_idle; in handle_stripe()
4540 !sh->reconstruct_state) { in handle_stripe()
4545 } else if (s.expanded && !sh->reconstruct_state && s.locked == 0) { in handle_stripe()