commit | 79b134a22b6fc45f48bcc1c27d6bf05b3ede5e06 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.com> | Fri Jan 22 17:16:18 2016 +0100 |
committer | David Sterba <dsterba@suse.com> | Fri Jan 22 17:16:18 2016 +0100 |
tree | c33a0062db4e89f50d41f7ace7bde14864e5fb76 | |
parent | 8cce83ba5062a301a09e0920df813bbbdd3e9dbf [diff] |
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: David Sterba <dsterba@suse.com>