Home
last modified time | relevance | path

Searched refs:nr_effective (Results 1 – 3 of 3) sorted by relevance

/linux/fs/bcachefs/
H A Dalloc_foreground.c692 BUG_ON(req->nr_effective >= req->nr_replicas); in add_new_bucket()
695 req->nr_effective += durability; in add_new_bucket()
700 if (req->nr_effective >= req->nr_replicas) in add_new_bucket()
715 BUG_ON(req->nr_effective >= req->nr_replicas); in bch2_bucket_alloc_set_trans()
952 if (req->nr_effective >= req->nr_replicas) in open_bucket_add_buckets()
1212 unsigned extra_replicas = req->nr_effective - req->nr_replicas; in deallocate_extra_replicas()
1269 req->nr_effective = 0; in bch2_alloc_sectors_start_trans()
1314 BUG_ON(!ret && req->nr_effective < req->nr_replicas); in bch2_alloc_sectors_start_trans()
1320 req->nr_effective >= nr_replicas_required) in bch2_alloc_sectors_start_trans()
1326 if (req->nr_effective > re in bch2_alloc_sectors_start_trans()
[all...]
H A Dalloc_foreground.h40 unsigned nr_effective; /* sum of @ptrs durability */ member
H A Dec.c1735 req->scratch_nr_effective = req->nr_effective; in new_stripe_alloc_buckets()
1771 req->nr_effective = nr_have_parity; in new_stripe_alloc_buckets()
1794 req->nr_effective = nr_have_data; in new_stripe_alloc_buckets()
1816 req->nr_effective = req->scratch_nr_effective; in new_stripe_alloc_buckets()