Lines Matching refs:rcw
3325 int rcw, int expand) in schedule_reconstruction() argument
3331 if (rcw) { in schedule_reconstruction()
4099 int rmw = 0, rcw = 0, i; in handle_stripe_dirtying() local
4116 rcw = 1; rmw = 2; in handle_stripe_dirtying()
4123 rcw = 1; rmw = 2; in handle_stripe_dirtying()
4147 rcw++; in handle_stripe_dirtying()
4149 rcw += 2*disks; in handle_stripe_dirtying()
4154 (unsigned long long)sh->sector, sh->state, rmw, rcw); in handle_stripe_dirtying()
4156 if ((rmw < rcw || (rmw == rcw && conf->rmw_level == PARITY_PREFER_RMW)) && rmw > 0) { in handle_stripe_dirtying()
4212 if ((rcw < rmw || (rcw == rmw && conf->rmw_level != PARITY_PREFER_RMW)) && rcw > 0) { in handle_stripe_dirtying()
4215 rcw = 0; in handle_stripe_dirtying()
4223 rcw++; in handle_stripe_dirtying()
4237 if (rcw && !mddev_is_dm(mddev)) in handle_stripe_dirtying()
4240 (unsigned long long)sh->sector, rcw, qread, in handle_stripe_dirtying()
4244 if (rcw > disks && rmw > disks && in handle_stripe_dirtying()
4259 (s->locked == 0 && (rcw == 0 || rmw == 0) && in handle_stripe_dirtying()
4261 schedule_reconstruction(sh, s, rcw == 0, 0); in handle_stripe_dirtying()