Commit 0af8a06a authored by Kent Overstreet's avatar Kent Overstreet
Browse files

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: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 8a443d3e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment