Skip to content
Commit 79b134a2 authored by David Sterba's avatar David Sterba
Browse files

btrfs: tweak free space tree bitmap allocation



The requested bitmap size varies, observed numbers were < 4K up to 16K.
Using vmalloc unconditionally would be too heavy, we'll try contiguous
allocations first and fall back to vmalloc if there's no contig memory.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 8cce83ba
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