Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5b7c3fcc authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: Don't substract too much from the allocation target (avoid wrapping)



When metadata allocation clustering has to fall back to unclustered
allocs because large free areas could not be found, it was sometimes
substracting too much from the total bytes to allocate.  This would
make it wrap below zero.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 5f2cc086
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment