Skip to content
Commit 8a1413a2 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: empty_size allocation fixes again



The allocator wasn't catching all of the cases where it needed to do
extra loops because the check to enforce them wasn't happening early
enough.

When the allocator decided to increase the size of the allocation
for metadata clustering, it wasn't always setting the empty_size to
include the extra (optional) bytes.  This also fixes the empty_size field
to be correct.

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