summaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2016-01-22 17:16:18 +0100
committerDavid Sterba <dsterba@suse.com>2016-01-22 17:16:18 +0100
commit79b134a22b6fc45f48bcc1c27d6bf05b3ede5e06 (patch)
treec33a0062db4e89f50d41f7ace7bde14864e5fb76 /fs/btrfs/disk-io.c
parent8cce83ba5062a301a09e0920df813bbbdd3e9dbf (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>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions