Home
last modified time | relevance | path

Searched refs:has_ec (Results 1 – 8 of 8) sorted by relevance

/linux/fs/bcachefs/
H A Dextents.c237 p.has_ec &= ~f->failed_ec; in bch2_bkey_pick_read_device()
246 if (p.has_ec && (f->failed_io || f->failed_csum_nr)) in bch2_bkey_pick_read_device()
257 if (!p.has_ec) in bch2_bkey_pick_read_device()
262 if (static_branch_unlikely(&bch2_force_reconstruct_read) && p.has_ec) in bch2_bkey_pick_read_device()
419 lp.has_ec != rp.has_ec) in bch2_extent_merge()
429 if (lp.has_ec != rp.has_ec || in bch2_extent_merge()
430 (lp.has_ec && in bch2_extent_merge()
797 if (p.has_ec) in bch2_bkey_replicas()
[all...]
H A Dextents_types.h23 bool has_ec; member
H A Dec.h135 BUG_ON(!p.has_ec); in bch2_ptr_matches_stripe()
149 BUG_ON(!p.has_ec); in bch2_ptr_matches_stripe_m()
H A Dbackpointers.h125 if (p.has_ec) in bch2_bkey_ptr_data_type()
H A Dextents.h323 (_ptr).has_ec = false; \
340 (_ptr).has_ec = true; \
H A Dbuckets.c247 if (p.has_ec) { in bch2_check_fix_ptr()
602 u32 *dst_sectors = p->has_ec ? &a->stripe_sectors : in __mark_pointer()
810 } else if (!p.has_ec) { in __trigger_extent()
H A Dreplicas.c153 if (!p.has_ec) in extent_to_replicas()
H A Dec.c840 BUG_ON(!rbio->pick.has_ec); in bch2_ec_read_extent()