Searched refs:rcw (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/md/
H A Draid5.c2860 int rcw, int expand) schedule_reconstruction()
2866 if (rcw) { schedule_reconstruction()
3554 int rmw = 0, rcw = 0, i; handle_stripe_dirtying() local
3567 /* Calculate the real rcw later - for now make it handle_stripe_dirtying()
3568 * look like rcw is cheaper handle_stripe_dirtying()
3570 rcw = 1; rmw = 2; handle_stripe_dirtying()
3593 rcw++; handle_stripe_dirtying()
3595 rcw += 2*disks; handle_stripe_dirtying()
3598 pr_debug("for sector %llu, rmw=%d rcw=%d\n", handle_stripe_dirtying()
3599 (unsigned long long)sh->sector, rmw, rcw); handle_stripe_dirtying()
3601 if ((rmw < rcw || (rmw == rcw && conf->rmw_level == PARITY_ENABLE_RMW)) && rmw > 0) { handle_stripe_dirtying()
3628 if ((rcw < rmw || (rcw == rmw && conf->rmw_level != PARITY_ENABLE_RMW)) && rcw > 0) { handle_stripe_dirtying()
3631 rcw = 0; handle_stripe_dirtying()
3639 rcw++; handle_stripe_dirtying()
3655 if (rcw && conf->mddev->queue) handle_stripe_dirtying()
3656 blk_add_trace_msg(conf->mddev->queue, "raid5 rcw %llu %d %d %d", handle_stripe_dirtying()
3658 rcw, qread, test_bit(STRIPE_DELAYED, &sh->state)); handle_stripe_dirtying()
3661 if (rcw > disks && rmw > disks && handle_stripe_dirtying()
3676 (s->locked == 0 && (rcw == 0 || rmw == 0) && handle_stripe_dirtying()
3678 schedule_reconstruction(sh, s, rcw == 0, 0); handle_stripe_dirtying()
2859 schedule_reconstruction(struct stripe_head *sh, struct stripe_head_state *s, int rcw, int expand) schedule_reconstruction() argument

Completed in 89 milliseconds