Lines Matching refs:rcw
2860 int rcw, int expand) in schedule_reconstruction() argument
2866 if (rcw) { in schedule_reconstruction()
3554 int rmw = 0, rcw = 0, i; in handle_stripe_dirtying() local
3570 rcw = 1; rmw = 2; in handle_stripe_dirtying()
3593 rcw++; in handle_stripe_dirtying()
3595 rcw += 2*disks; in handle_stripe_dirtying()
3599 (unsigned long long)sh->sector, rmw, rcw); in handle_stripe_dirtying()
3601 if ((rmw < rcw || (rmw == rcw && conf->rmw_level == PARITY_ENABLE_RMW)) && rmw > 0) { in handle_stripe_dirtying()
3628 if ((rcw < rmw || (rcw == rmw && conf->rmw_level != PARITY_ENABLE_RMW)) && rcw > 0) { in handle_stripe_dirtying()
3631 rcw = 0; in handle_stripe_dirtying()
3639 rcw++; in handle_stripe_dirtying()
3655 if (rcw && conf->mddev->queue) in handle_stripe_dirtying()
3658 rcw, qread, test_bit(STRIPE_DELAYED, &sh->state)); in handle_stripe_dirtying()
3661 if (rcw > disks && rmw > disks && in handle_stripe_dirtying()
3676 (s->locked == 0 && (rcw == 0 || rmw == 0) && in handle_stripe_dirtying()
3678 schedule_reconstruction(sh, s, rcw == 0, 0); in handle_stripe_dirtying()