Commit 7635e1a6 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Rework open bucket partial list allocation



Now, any open_bucket can go on the partial list: allocating from the
partial list has been moved to its own dedicated function,
open_bucket_add_bucets() -> bucket_alloc_set_partial().

In particular, this means that erasure coded buckets can safely go on
the partial list; the new location works with the "allocate an ec bucket
first, then the rest" logic.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent e53d03fe
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