Lines Matching refs:rcw
3379 int rcw, int expand) in schedule_reconstruction() argument
3385 if (rcw) { in schedule_reconstruction()
4191 int rmw = 0, rcw = 0, i; in handle_stripe_dirtying() local
4207 rcw = 1; rmw = 2; in handle_stripe_dirtying()
4232 rcw++; in handle_stripe_dirtying()
4234 rcw += 2*disks; in handle_stripe_dirtying()
4239 (unsigned long long)sh->sector, sh->state, rmw, rcw); in handle_stripe_dirtying()
4241 if ((rmw < rcw || (rmw == rcw && conf->rmw_level == PARITY_PREFER_RMW)) && rmw > 0) { in handle_stripe_dirtying()
4298 if ((rcw < rmw || (rcw == rmw && conf->rmw_level != PARITY_PREFER_RMW)) && rcw > 0) { in handle_stripe_dirtying()
4301 rcw = 0; in handle_stripe_dirtying()
4309 rcw++; in handle_stripe_dirtying()
4323 if (rcw && conf->mddev->queue) in handle_stripe_dirtying()
4326 rcw, qread, test_bit(STRIPE_DELAYED, &sh->state)); in handle_stripe_dirtying()
4329 if (rcw > disks && rmw > disks && in handle_stripe_dirtying()
4344 (s->locked == 0 && (rcw == 0 || rmw == 0) && in handle_stripe_dirtying()
4346 schedule_reconstruction(sh, s, rcw == 0, 0); in handle_stripe_dirtying()