Lines Matching refs:test_bit
242 test_bit(STRIPE_BIOFILL_RUN, &sh->state) || in stripe_operations_active()
243 test_bit(STRIPE_COMPUTE_RUN, &sh->state); in stripe_operations_active()
294 if (test_bit(STRIPE_HANDLE, &sh->state)) { in do_release_stripe()
295 if (test_bit(STRIPE_DELAYED, &sh->state) && in do_release_stripe()
296 !test_bit(STRIPE_PREREAD_ACTIVE, &sh->state)) in do_release_stripe()
298 else if (test_bit(STRIPE_BIT_DELAY, &sh->state) && in do_release_stripe()
319 if (!test_bit(STRIPE_EXPANDING, &sh->state)) in do_release_stripe()
525 BUG_ON(test_bit(STRIPE_HANDLE, &sh->state)); in init_stripe()
543 test_bit(R5_LOCKED, &dev->flags)) { in init_stripe()
547 test_bit(R5_LOCKED, &dev->flags)); in init_stripe()
596 if (rdev && test_bit(Faulty, &rdev->flags)) in calc_degraded()
598 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
600 else if (test_bit(In_sync, &rdev->flags)) in calc_degraded()
622 if (rdev && test_bit(Faulty, &rdev->flags)) in calc_degraded()
624 if (!rdev || test_bit(Faulty, &rdev->flags)) in calc_degraded()
626 else if (test_bit(In_sync, &rdev->flags)) in calc_degraded()
673 if (!test_bit(R5_INACTIVE_BLOCKED, &conf->cache_state)) { in raid5_get_active_stripe()
675 if (!sh && !test_bit(R5_DID_ALLOC, in raid5_get_active_stripe()
690 || !test_bit(R5_INACTIVE_BLOCKED, in raid5_get_active_stripe()
702 if (!test_bit(STRIPE_HANDLE, &sh->state)) in raid5_get_active_stripe()
705 !test_bit(STRIPE_EXPANDING, &sh->state)); in raid5_get_active_stripe()
753 return test_bit(STRIPE_BATCH_READY, &sh->state) && in stripe_can_batch()
754 !test_bit(STRIPE_BITMAP_PENDING, &sh->state) && in stripe_can_batch()
780 if (!test_bit(STRIPE_HANDLE, &head->state)) in stripe_add_to_batch_list()
783 !test_bit(STRIPE_EXPANDING, &head->state)); in stripe_add_to_batch_list()
845 if (test_bit(STRIPE_BIT_DELAY, &sh->batch_head->state) && in stripe_add_to_batch_list()
907 if (test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_io()
939 if (test_bit(R5_ReadRepl, &head_sh->dev[i].flags) && rrdev) in ops_run_io()
944 if (rdev && test_bit(Faulty, &rdev->flags)) in ops_run_io()
948 if (rrdev && test_bit(Faulty, &rrdev->flags)) in ops_run_io()
959 test_bit(WriteErrorSeen, &rdev->flags)) { in ops_run_io()
1018 if (test_bit(R5_ReadNoMerge, &head_sh->dev[i].flags)) in ops_run_io()
1021 if (test_bit(R5_SkipCopy, &sh->dev[i].flags)) in ops_run_io()
1022 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in ops_run_io()
1070 if (test_bit(R5_SkipCopy, &sh->dev[i].flags)) in ops_run_io()
1071 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in ops_run_io()
1223 if (test_bit(R5_Wantfill, &dev->flags)) { in ops_run_biofill()
1252 BUG_ON(!test_bit(R5_Wantcompute, &tgt->flags)); in mark_target_uptodate()
1310 BUG_ON(!test_bit(R5_Wantcompute, &tgt->flags)); in ops_run_compute5()
1359 test_bit(R5_Wantdrain, &dev->flags)) || in set_syndrome_sources()
1396 BUG_ON(!test_bit(R5_Wantcompute, &tgt->flags)); in ops_run_compute6_1()
1446 BUG_ON(!test_bit(R5_Wantcompute, &tgt->flags)); in ops_run_compute6_2()
1447 BUG_ON(!test_bit(R5_Wantcompute, &tgt2->flags)); in ops_run_compute6_2()
1562 if (test_bit(R5_Wantdrain, &dev->flags)) in ops_run_prexor5()
1669 fua |= test_bit(R5_WantFUA, &sh->dev[i].flags); in ops_complete_reconstruct()
1670 sync |= test_bit(R5_SyncIO, &sh->dev[i].flags); in ops_complete_reconstruct()
1671 discard |= test_bit(R5_Discard, &sh->dev[i].flags); in ops_complete_reconstruct()
1678 if (!discard && !test_bit(R5_SkipCopy, &dev->flags)) in ops_complete_reconstruct()
1721 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct5()
1803 if (!test_bit(R5_Discard, &sh->dev[i].flags)) in ops_run_reconstruct6()
1925 if (test_bit(STRIPE_OP_BIOFILL, &ops_request)) { in raid_run_ops()
1930 if (test_bit(STRIPE_OP_COMPUTE_BLK, &ops_request)) { in raid_run_ops()
1940 if (tx && !test_bit(STRIPE_OP_RECONSTRUCT, &ops_request)) in raid_run_ops()
1944 if (test_bit(STRIPE_OP_PREXOR, &ops_request)) { in raid_run_ops()
1951 if (test_bit(STRIPE_OP_BIODRAIN, &ops_request)) { in raid_run_ops()
1956 if (test_bit(STRIPE_OP_RECONSTRUCT, &ops_request)) { in raid_run_ops()
1963 if (test_bit(STRIPE_OP_CHECK, &ops_request)) { in raid_run_ops()
2307 if (test_bit(R5_ReadRepl, &sh->dev[i].flags)) in raid5_end_read_request()
2323 if (test_bit(R5_ReadError, &sh->dev[i].flags)) { in raid5_end_read_request()
2338 } else if (test_bit(R5_ReadNoMerge, &sh->dev[i].flags)) in raid5_end_read_request()
2350 if (test_bit(R5_ReadRepl, &sh->dev[i].flags)) in raid5_end_read_request()
2367 } else if (test_bit(R5_ReWrite, &sh->dev[i].flags)) { in raid5_end_read_request()
2384 if (set_bad && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2385 && !test_bit(R5_ReadNoMerge, &sh->dev[i].flags)) in raid5_end_read_request()
2388 if (test_bit(R5_ReadNoMerge, &sh->dev[i].flags)) { in raid5_end_read_request()
2397 && test_bit(In_sync, &rdev->flags) in raid5_end_read_request()
2464 if (test_bit(R5_ReadError, &sh->dev[i].flags)) in raid5_end_write_request()
2896 BUG_ON(!(test_bit(R5_UPTODATE, &sh->dev[pd_idx].flags) || in schedule_reconstruction()
2897 test_bit(R5_Wantcompute, &sh->dev[pd_idx].flags))); in schedule_reconstruction()
2899 (!(test_bit(R5_UPTODATE, &sh->dev[qd_idx].flags) || in schedule_reconstruction()
2900 test_bit(R5_Wantcompute, &sh->dev[qd_idx].flags)))); in schedule_reconstruction()
2908 (test_bit(R5_UPTODATE, &dev->flags) || in schedule_reconstruction()
2909 test_bit(R5_Wantcompute, &dev->flags))) { in schedule_reconstruction()
3081 if (test_bit(R5_ReadError, &sh->dev[i].flags)) { in handle_failed_stripe()
3085 if (rdev && test_bit(In_sync, &rdev->flags)) in handle_failed_stripe()
3132 WARN_ON(test_bit(R5_UPTODATE, &sh->dev[i].flags)); in handle_failed_stripe()
3152 if (!test_bit(R5_Wantfill, &sh->dev[i].flags) && in handle_failed_stripe()
3154 (!test_bit(R5_Insync, &sh->dev[i].flags) || in handle_failed_stripe()
3155 test_bit(R5_ReadError, &sh->dev[i].flags))) { in handle_failed_stripe()
3211 if (test_bit(MD_RECOVERY_RECOVER, &conf->mddev->recovery)) { in handle_failed_sync()
3218 && !test_bit(Faulty, &rdev->flags) in handle_failed_sync()
3219 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3225 && !test_bit(Faulty, &rdev->flags) in handle_failed_sync()
3226 && !test_bit(In_sync, &rdev->flags) in handle_failed_sync()
3245 && !test_bit(Faulty, &rdev->flags) in want_replace()
3246 && !test_bit(In_sync, &rdev->flags) in want_replace()
3270 if (test_bit(R5_LOCKED, &dev->flags) || in need_this_block()
3271 test_bit(R5_UPTODATE, &dev->flags)) in need_this_block()
3278 (dev->towrite && !test_bit(R5_OVERWRITE, &dev->flags))) in need_this_block()
3307 if (test_bit(R5_Insync, &dev->flags) && in need_this_block()
3308 !test_bit(STRIPE_PREREAD_ACTIVE, &sh->state)) in need_this_block()
3318 !test_bit(R5_UPTODATE, &fdev[i]->flags) && in need_this_block()
3319 !test_bit(R5_OVERWRITE, &fdev[i]->flags)) in need_this_block()
3343 !test_bit(R5_UPTODATE, &fdev[i]->flags) && in need_this_block()
3344 !test_bit(R5_OVERWRITE, &fdev[i]->flags)) in need_this_block()
3361 BUG_ON(test_bit(R5_Wantcompute, &dev->flags)); in fetch_block()
3362 BUG_ON(test_bit(R5_Wantread, &dev->flags)); in fetch_block()
3394 if (!test_bit(R5_UPTODATE, in fetch_block()
3411 } else if (test_bit(R5_Insync, &dev->flags)) { in fetch_block()
3436 if (!test_bit(STRIPE_COMPUTE_RUN, &sh->state) && !sh->check_state && in handle_stripe_fill()
3463 if (!test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_clean_event()
3464 (test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_clean_event()
3465 test_bit(R5_Discard, &dev->flags) || in handle_stripe_clean_event()
3466 test_bit(R5_SkipCopy, &dev->flags))) { in handle_stripe_clean_event()
3473 WARN_ON(test_bit(R5_UPTODATE, &dev->flags)); in handle_stripe_clean_event()
3492 !test_bit(STRIPE_DEGRADED, &sh->state), in handle_stripe_clean_event()
3505 } else if (test_bit(R5_Discard, &dev->flags)) in handle_stripe_clean_event()
3507 WARN_ON(test_bit(R5_SkipCopy, &dev->flags)); in handle_stripe_clean_event()
3514 test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)) { in handle_stripe_clean_event()
3542 if (test_bit(STRIPE_SYNC_REQUESTED, &sh->state)) in handle_stripe_clean_event()
3584 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
3585 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
3586 test_bit(R5_Wantcompute, &dev->flags))) { in handle_stripe_dirtying()
3587 if (test_bit(R5_Insync, &dev->flags)) in handle_stripe_dirtying()
3593 if (!test_bit(R5_OVERWRITE, &dev->flags) && in handle_stripe_dirtying()
3595 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
3596 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
3597 test_bit(R5_Wantcompute, &dev->flags))) { in handle_stripe_dirtying()
3598 if (test_bit(R5_Insync, &dev->flags)) in handle_stripe_dirtying()
3616 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
3617 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
3618 test_bit(R5_Wantcompute, &dev->flags)) && in handle_stripe_dirtying()
3619 test_bit(R5_Insync, &dev->flags)) { in handle_stripe_dirtying()
3620 if (test_bit(STRIPE_PREREAD_ACTIVE, in handle_stripe_dirtying()
3640 if (!test_bit(R5_OVERWRITE, &dev->flags) && in handle_stripe_dirtying()
3642 !test_bit(R5_LOCKED, &dev->flags) && in handle_stripe_dirtying()
3643 !(test_bit(R5_UPTODATE, &dev->flags) || in handle_stripe_dirtying()
3644 test_bit(R5_Wantcompute, &dev->flags))) { in handle_stripe_dirtying()
3646 if (test_bit(R5_Insync, &dev->flags) && in handle_stripe_dirtying()
3647 test_bit(STRIPE_PREREAD_ACTIVE, in handle_stripe_dirtying()
3664 rcw, qread, test_bit(STRIPE_DELAYED, &sh->state)); in handle_stripe_dirtying()
3668 !test_bit(STRIPE_PREREAD_ACTIVE, &sh->state)) in handle_stripe_dirtying()
3681 if ((s->req_compute || !test_bit(STRIPE_COMPUTE_RUN, &sh->state)) && in handle_stripe_dirtying()
3683 !test_bit(STRIPE_BIT_DELAY, &sh->state))) in handle_stripe_dirtying()
3714 if (test_bit(STRIPE_INSYNC, &sh->state)) in handle_parity_checks5()
3718 BUG_ON(!test_bit(R5_UPTODATE, &dev->flags)); in handle_parity_checks5()
3750 if (test_bit(MD_RECOVERY_CHECK, &conf->mddev->recovery)) in handle_parity_checks5()
3838 if (test_bit(STRIPE_INSYNC, &sh->state)) in handle_parity_checks6()
3902 if (test_bit(MD_RECOVERY_CHECK, &conf->mddev->recovery)) in handle_parity_checks6()
3965 if (!test_bit(STRIPE_EXPANDING, &sh2->state) || in handle_stripe_expansion()
3966 test_bit(R5_Expanded, &sh2->dev[dd_idx].flags)) { in handle_stripe_expansion()
3983 !test_bit(R5_Expanded, &sh2->dev[j].flags)) in handle_stripe_expansion()
4020 s->expanding = test_bit(STRIPE_EXPAND_SOURCE, &sh->state) && !sh->batch_head; in analyse_stripe()
4021 s->expanded = test_bit(STRIPE_EXPAND_READY, &sh->state) && !sh->batch_head; in analyse_stripe()
4044 if (test_bit(R5_UPTODATE, &dev->flags) && dev->toread && in analyse_stripe()
4045 !test_bit(STRIPE_BIOFILL_RUN, &sh->state)) in analyse_stripe()
4049 if (test_bit(R5_LOCKED, &dev->flags)) in analyse_stripe()
4051 if (test_bit(R5_UPTODATE, &dev->flags)) in analyse_stripe()
4053 if (test_bit(R5_Wantcompute, &dev->flags)) { in analyse_stripe()
4058 if (test_bit(R5_Wantfill, &dev->flags)) in analyse_stripe()
4064 if (!test_bit(R5_OVERWRITE, &dev->flags)) in analyse_stripe()
4073 if (rdev && !test_bit(Faulty, &rdev->flags) && in analyse_stripe()
4079 if (rdev && !test_bit(Faulty, &rdev->flags)) in analyse_stripe()
4086 if (rdev && test_bit(Faulty, &rdev->flags)) in analyse_stripe()
4092 && (test_bit(Blocked, &rdev->flags) in analyse_stripe()
4106 if (!test_bit(WriteErrorSeen, &rdev->flags) && in analyse_stripe()
4107 test_bit(R5_UPTODATE, &dev->flags)) { in analyse_stripe()
4114 } else if (test_bit(In_sync, &rdev->flags)) in analyse_stripe()
4119 else if (test_bit(R5_UPTODATE, &dev->flags) && in analyse_stripe()
4120 test_bit(R5_Expanded, &dev->flags)) in analyse_stripe()
4127 if (test_bit(R5_WriteError, &dev->flags)) { in analyse_stripe()
4134 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe()
4140 if (test_bit(R5_MadeGood, &dev->flags)) { in analyse_stripe()
4145 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe()
4151 if (test_bit(R5_MadeGoodRepl, &dev->flags)) { in analyse_stripe()
4154 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe()
4160 if (!test_bit(R5_Insync, &dev->flags)) { in analyse_stripe()
4165 if (test_bit(R5_ReadError, &dev->flags)) in analyse_stripe()
4167 if (!test_bit(R5_Insync, &dev->flags)) { in analyse_stripe()
4171 if (rdev && !test_bit(Faulty, &rdev->flags)) in analyse_stripe()
4175 if (test_bit(STRIPE_SYNCING, &sh->state)) { in analyse_stripe()
4186 test_bit(MD_RECOVERY_REQUESTED, &(conf->mddev->recovery))) in analyse_stripe()
4316 if (test_bit(STRIPE_SYNC_REQUESTED, &sh->state) && !sh->batch_head) { in handle_stripe()
4319 if (!test_bit(STRIPE_DISCARD, &sh->state) && in handle_stripe()
4337 if (test_bit(STRIPE_LOG_TRAPPED, &sh->state)) in handle_stripe()
4356 if (s.to_fill && !test_bit(STRIPE_BIOFILL_RUN, &sh->state)) { in handle_stripe()
4391 BUG_ON(!test_bit(R5_UPTODATE, &sh->dev[sh->pd_idx].flags) && in handle_stripe()
4392 !test_bit(R5_Discard, &sh->dev[sh->pd_idx].flags)); in handle_stripe()
4394 !test_bit(R5_UPTODATE, &sh->dev[sh->qd_idx].flags) && in handle_stripe()
4395 !test_bit(R5_Discard, &sh->dev[sh->qd_idx].flags)); in handle_stripe()
4398 if (test_bit(R5_LOCKED, &dev->flags) && in handle_stripe()
4407 if (!test_bit(R5_Insync, &dev->flags) || in handle_stripe()
4430 (s.p_failed || ((test_bit(R5_Insync, &pdev->flags) in handle_stripe()
4431 && !test_bit(R5_LOCKED, &pdev->flags) in handle_stripe()
4432 && (test_bit(R5_UPTODATE, &pdev->flags) || in handle_stripe()
4433 test_bit(R5_Discard, &pdev->flags))))) && in handle_stripe()
4434 (s.q_failed || ((test_bit(R5_Insync, &qdev->flags) in handle_stripe()
4435 && !test_bit(R5_LOCKED, &qdev->flags) in handle_stripe()
4436 && (test_bit(R5_UPTODATE, &qdev->flags) || in handle_stripe()
4437 test_bit(R5_Discard, &qdev->flags)))))) in handle_stripe()
4467 !test_bit(STRIPE_COMPUTE_RUN, &sh->state) && in handle_stripe()
4468 !test_bit(STRIPE_INSYNC, &sh->state))) { in handle_stripe()
4476 && !test_bit(STRIPE_COMPUTE_RUN, &sh->state) in handle_stripe()
4477 && !test_bit(STRIPE_REPLACED, &sh->state)) { in handle_stripe()
4480 if (test_bit(R5_NeedReplace, &sh->dev[i].flags)) { in handle_stripe()
4481 WARN_ON(!test_bit(R5_UPTODATE, &sh->dev[i].flags)); in handle_stripe()
4491 !test_bit(STRIPE_COMPUTE_RUN, &sh->state) && in handle_stripe()
4492 test_bit(STRIPE_INSYNC, &sh->state)) { in handle_stripe()
4505 if (test_bit(R5_ReadError, &dev->flags) in handle_stripe()
4506 && !test_bit(R5_LOCKED, &dev->flags) in handle_stripe()
4507 && test_bit(R5_UPTODATE, &dev->flags) in handle_stripe()
4509 if (!test_bit(R5_ReWrite, &dev->flags)) { in handle_stripe()
4527 if (sh_src && test_bit(STRIPE_EXPAND_SOURCE, &sh_src->state)) { in handle_stripe()
4551 if (s.expanded && test_bit(STRIPE_EXPANDING, &sh->state) && in handle_stripe()
4565 !test_bit(STRIPE_COMPUTE_RUN, &sh->state)) in handle_stripe()
4629 if (test_bit(MD_CHANGE_PENDING, &conf->mddev->flags)) { in handle_stripe()
4683 if (test_bit(R5_INACTIVE_BLOCKED, &conf->cache_state)) in raid5_congested()
4816 if (!rdev || test_bit(Faulty, &rdev->flags) || in raid5_read_one_chunk()
4820 (test_bit(Faulty, &rdev->flags) || in raid5_read_one_chunk()
4821 !(test_bit(In_sync, &rdev->flags) || in raid5_read_one_chunk()
4933 else if (!test_bit(STRIPE_IO_STARTED, &sh->state)) { in __get_priority_stripe()
5087 if (test_bit(STRIPE_SYNCING, &sh->state)) { in make_discard_request()
5291 if (test_bit(STRIPE_EXPANDING, &sh->state) || in make_request()
5462 || test_bit(MD_RECOVERY_INTR, &mddev->recovery)); in reshape_request()
5471 test_bit(MD_RECOVERY_INTR, &mddev->recovery)); in reshape_request()
5472 if (test_bit(MD_RECOVERY_INTR, &mddev->recovery)) in reshape_request()
5560 || test_bit(MD_RECOVERY_INTR, &mddev->recovery)); in reshape_request()
5569 !test_bit(MD_CHANGE_DEVS, &mddev->flags) in reshape_request()
5570 || test_bit(MD_RECOVERY_INTR, &mddev->recovery)); in reshape_request()
5571 if (test_bit(MD_RECOVERY_INTR, &mddev->recovery)) in reshape_request()
5595 if (test_bit(MD_RECOVERY_RESHAPE, &mddev->recovery)) { in sync_request()
5613 if (test_bit(MD_RECOVERY_RESHAPE, &mddev->recovery)) in sync_request()
5627 test_bit(MD_RECOVERY_SYNC, &mddev->recovery)) { in sync_request()
5632 if (!test_bit(MD_RECOVERY_REQUESTED, &mddev->recovery) && in sync_request()
5660 if (rdev == NULL || test_bit(Faulty, &rdev->flags)) in sync_request()
5843 !test_bit(MD_CHANGE_PENDING, &mddev->flags)) { in raid5d()
5846 if (!test_bit(MD_CHANGE_PENDING, &mddev->flags)) { in raid5d()
6572 || raid_disk < 0 || test_bit(Journal, &rdev->flags)) in setup_conf()
6576 if (test_bit(Replacement, &rdev->flags)) { in setup_conf()
6586 if (test_bit(In_sync, &rdev->flags)) { in setup_conf()
6706 if (test_bit(Journal, &rdev->flags)) { in run()
6824 if (test_bit(MD_HAS_JOURNAL, &mddev->flags) && !journal_dev) { in run()
6855 if (test_bit(In_sync, &rdev->flags)) { in run()
7071 test_bit(In_sync, &conf->disks[i].rdev->flags) ? "U" : "_"); in status()
7094 i, !test_bit(Faulty, &tmp->rdev->flags), in print_raid5_conf()
7111 && !test_bit(Faulty, &tmp->replacement->flags) in raid5_spare_active()
7129 && !test_bit(Faulty, &tmp->rdev->flags) in raid5_spare_active()
7151 if (test_bit(Journal, &rdev->flags)) { in raid5_remove_disk()
7171 if (test_bit(In_sync, &rdev->flags) || in raid5_remove_disk()
7179 if (!test_bit(Faulty, &rdev->flags) && in raid5_remove_disk()
7222 if (test_bit(Journal, &rdev->flags)) in raid5_add_disk()
7257 if (test_bit(WantReplacement, &p->rdev->flags) && in raid5_add_disk()
7382 if (test_bit(MD_RECOVERY_RUNNING, &mddev->recovery)) in raid5_start_reshape()
7392 if (!test_bit(In_sync, &rdev->flags) in raid5_start_reshape()
7393 && !test_bit(Faulty, &rdev->flags)) in raid5_start_reshape()
7453 !test_bit(Faulty, &rdev->flags)) { in raid5_start_reshape()
7465 && !test_bit(Faulty, &rdev->flags)) { in raid5_start_reshape()
7519 if (!test_bit(MD_RECOVERY_INTR, &conf->mddev->recovery)) { in end_reshape()
7552 if (!test_bit(MD_RECOVERY_INTR, &mddev->recovery)) { in raid5_finish_reshape()