Lines Matching refs:rcw
2858 int rcw, int expand) in schedule_reconstruction() argument
2864 if (rcw) { in schedule_reconstruction()
3560 int rmw = 0, rcw = 0, i; in handle_stripe_dirtying() local
3576 rcw = 1; rmw = 2; in handle_stripe_dirtying()
3599 rcw++; in handle_stripe_dirtying()
3601 rcw += 2*disks; in handle_stripe_dirtying()
3605 (unsigned long long)sh->sector, rmw, rcw); in handle_stripe_dirtying()
3607 if ((rmw < rcw || (rmw == rcw && conf->rmw_level == PARITY_ENABLE_RMW)) && rmw > 0) { in handle_stripe_dirtying()
3634 if ((rcw < rmw || (rcw == rmw && conf->rmw_level != PARITY_ENABLE_RMW)) && rcw > 0) { in handle_stripe_dirtying()
3637 rcw = 0; in handle_stripe_dirtying()
3645 rcw++; in handle_stripe_dirtying()
3661 if (rcw && conf->mddev->queue) in handle_stripe_dirtying()
3664 rcw, qread, test_bit(STRIPE_DELAYED, &sh->state)); in handle_stripe_dirtying()
3667 if (rcw > disks && rmw > disks && in handle_stripe_dirtying()
3682 (s->locked == 0 && (rcw == 0 || rmw == 0) && in handle_stripe_dirtying()
3684 schedule_reconstruction(sh, s, rcw == 0, 0); in handle_stripe_dirtying()