mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
Btrfs: enforce metadata allocation clustering
The allocator uses the last allocation as a starting point for metadata allocations, and tries to allocate in clusters of at least 256k. If the search for a free block fails to find the expected block, this patch forces a new cluster to be found in the free list. Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
771ed689d2
commit
3b7885bf96
2 changed files with 17 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue