Commit e28ef07e authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Simplify stripe_idx_to_delete



This is not technically correct - it's subject to a race if we ever end
up with a stripe with all empty blocks (that needs to be deleted) being
held open. But the "correct" version was much too inefficient, and soon
we'll be adding a stripes LRU.

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