Commit c6044801 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: avoid allocation clusters that are too spread out



In SSD mode for data, and all the time for metadata the allocator
will try to find a cluster of nearby blocks for allocations.  This
commit adds extra checks to make sure that each free block in the
cluster is close to the last one.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 3b30c22f
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