Lines Matching full:redundancy
1347 .redundancy = v->nr_redundant, in ec_stripe_update_extent()
1509 bch_err(c, "error creating stripe: error writing redundancy buckets"); in ec_stripe_create()
1727 BCH_BKEY_PTRS_MAX) - h->redundancy; in ec_new_stripe_alloc()
1728 s->nr_parity = h->redundancy; in ec_new_stripe_alloc()
1764 * If we only have redundancy + 1 devices, we're better off with just in ec_stripe_head_devs_update()
1767 h->insufficient_devs = h->nr_active_devs < h->redundancy + 2; in ec_stripe_head_devs_update()
1772 if (nr_devs < h->redundancy + 2) in ec_stripe_head_devs_update()
1774 else if (nr_devs_with_durability < h->redundancy + 2) in ec_stripe_head_devs_update()
1781 h->nr_active_devs, h->redundancy + 2, err); in ec_stripe_head_devs_update()
1795 unsigned algo, unsigned redundancy, in ec_new_stripe_head_alloc() argument
1809 h->redundancy = redundancy; in ec_new_stripe_head_alloc()
1831 unsigned redundancy, in __bch2_ec_stripe_head_get() argument
1838 if (!redundancy) in __bch2_ec_stripe_head_get()
1853 h->redundancy == redundancy && in __bch2_ec_stripe_head_get()
1863 h = ec_new_stripe_head_alloc(c, disk_label, algo, redundancy, watermark); in __bch2_ec_stripe_head_get()
1998 m->nr_redundant == head->redundancy && in get_existing_stripe()
2135 unsigned redundancy, in bch2_ec_stripe_head_get() argument
2154 h = __bch2_ec_stripe_head_get(trans, disk_label, algo, redundancy, watermark); in bch2_ec_stripe_head_get()
2427 prt_printf(out, "disk label %u algo %u redundancy %u %s nr created %llu:\n", in bch2_new_stripes_to_text()
2428 h->disk_label, h->algo, h->redundancy, in bch2_new_stripes_to_text()