Lines Matching full:redundancy
1254 .redundancy = v->nr_redundant, in ec_stripe_update_extent()
1413 bch_err(c, "error creating stripe: error writing redundancy buckets"); in ec_stripe_create()
1623 BCH_BKEY_PTRS_MAX) - h->redundancy; in ec_new_stripe_alloc()
1624 s->nr_parity = h->redundancy; in ec_new_stripe_alloc()
1635 unsigned algo, unsigned redundancy, in ec_new_stripe_head_alloc() argument
1649 h->redundancy = redundancy; in ec_new_stripe_head_alloc()
1668 * If we only have redundancy + 1 devices, we're better off with just in ec_new_stripe_head_alloc()
1671 if (h->nr_active_devs < h->redundancy + 2) in ec_new_stripe_head_alloc()
1673 h->nr_active_devs, h->redundancy + 2); in ec_new_stripe_head_alloc()
1694 unsigned redundancy, in __bch2_ec_stripe_head_get() argument
1701 if (!redundancy) in __bch2_ec_stripe_head_get()
1716 h->redundancy == redundancy && in __bch2_ec_stripe_head_get()
1724 h = ec_new_stripe_head_alloc(c, target, algo, redundancy, watermark); in __bch2_ec_stripe_head_get()
1727 h->nr_active_devs < h->redundancy + 2) { in __bch2_ec_stripe_head_get()
1841 m->nr_redundant == head->redundancy && in get_existing_stripe()
1978 unsigned redundancy, in bch2_ec_stripe_head_get() argument
1987 h = __bch2_ec_stripe_head_get(trans, target, algo, redundancy, watermark); in bch2_ec_stripe_head_get()
2183 prt_printf(out, "target %u algo %u redundancy %u %s:\n", in bch2_new_stripes_to_text()
2184 h->target, h->algo, h->redundancy, in bch2_new_stripes_to_text()