diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-20 18:23:26 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-24 03:03:47 -0500 |
commit | 0af8a06a4ce823e380385cdd9538cdd968a1ffae (patch) | |
tree | e10e6aec12d250e00efe88feea2eb58285dff6c7 /scripts/bpf_doc.py | |
parent | 8a443d3ea1327fea5ac3be77d2e39ebe35bfe9cf (diff) |
bcachefs: deallocate_extra_replicas()
When allocating from devices with different durability, we might end up
with more replicas than required; this changes
bch2_alloc_sectors_start() to check for this, and drop replicas that
aren't needed to hit the number of replicas requested.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions