Lines Matching full:redundancy

1356 		.redundancy	= v->nr_redundant,  in ec_stripe_update_extent()
1518 bch_err(c, "error creating stripe: error writing redundancy buckets"); in ec_stripe_create()
1736 BCH_BKEY_PTRS_MAX) - h->redundancy; in ec_new_stripe_alloc()
1737 s->nr_parity = h->redundancy; in ec_new_stripe_alloc()
1773 * If we only have redundancy + 1 devices, we're better off with just in ec_stripe_head_devs_update()
1776 h->insufficient_devs = h->nr_active_devs < h->redundancy + 2; in ec_stripe_head_devs_update()
1781 if (nr_devs < h->redundancy + 2) in ec_stripe_head_devs_update()
1783 else if (nr_devs_with_durability < h->redundancy + 2) in ec_stripe_head_devs_update()
1790 h->nr_active_devs, h->redundancy + 2, err); in ec_stripe_head_devs_update()
1804 unsigned algo, unsigned redundancy, in ec_new_stripe_head_alloc() argument
1818 h->redundancy = redundancy; in ec_new_stripe_head_alloc()
1840 unsigned redundancy, in __bch2_ec_stripe_head_get() argument
1847 if (!redundancy) in __bch2_ec_stripe_head_get()
1862 h->redundancy == redundancy && in __bch2_ec_stripe_head_get()
1872 h = ec_new_stripe_head_alloc(c, disk_label, algo, redundancy, watermark); in __bch2_ec_stripe_head_get()
2007 m->nr_redundant == head->redundancy && in get_existing_stripe()
2144 unsigned redundancy, in bch2_ec_stripe_head_get() argument
2163 h = __bch2_ec_stripe_head_get(trans, disk_label, algo, redundancy, watermark); in bch2_ec_stripe_head_get()
2436 prt_printf(out, "disk label %u algo %u redundancy %u %s nr created %llu:\n", in bch2_new_stripes_to_text()
2437 h->disk_label, h->algo, h->redundancy, in bch2_new_stripes_to_text()