Lines Matching refs:rcw
3295 int rcw, int expand) in schedule_reconstruction() argument
3301 if (rcw) { in schedule_reconstruction()
4083 int rmw = 0, rcw = 0, i; in handle_stripe_dirtying() local
4099 rcw = 1; rmw = 2; in handle_stripe_dirtying()
4124 rcw++; in handle_stripe_dirtying()
4126 rcw += 2*disks; in handle_stripe_dirtying()
4131 (unsigned long long)sh->sector, sh->state, rmw, rcw); in handle_stripe_dirtying()
4133 if ((rmw < rcw || (rmw == rcw && conf->rmw_level == PARITY_PREFER_RMW)) && rmw > 0) { in handle_stripe_dirtying()
4190 if ((rcw < rmw || (rcw == rmw && conf->rmw_level != PARITY_PREFER_RMW)) && rcw > 0) { in handle_stripe_dirtying()
4193 rcw = 0; in handle_stripe_dirtying()
4201 rcw++; in handle_stripe_dirtying()
4215 if (rcw && conf->mddev->queue) in handle_stripe_dirtying()
4218 rcw, qread, test_bit(STRIPE_DELAYED, &sh->state)); in handle_stripe_dirtying()
4221 if (rcw > disks && rmw > disks && in handle_stripe_dirtying()
4236 (s->locked == 0 && (rcw == 0 || rmw == 0) && in handle_stripe_dirtying()
4238 schedule_reconstruction(sh, s, rcw == 0, 0); in handle_stripe_dirtying()