summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorJosef Bacik <josef@redhat.com>2011-03-18 16:16:21 -0400
committerJosef Bacik <josef@redhat.com>2011-03-21 10:26:03 -0400
commit32cb0840ce8e13901fe71a9a8e834a531802ffc4 (patch)
tree397b22d872a7074fc64b13b507354ce248eb298e /fs/btrfs/ctree.h
parentd0a365e84a886ce6b5b7f7a76be0bb24934ec8f0 (diff)
downloadop-kernel-dev-32cb0840ce8e13901fe71a9a8e834a531802ffc4.zip
op-kernel-dev-32cb0840ce8e13901fe71a9a8e834a531802ffc4.tar.gz
Btrfs: don't be as aggressive about using bitmaps
We have been creating bitmaps for small extents unconditionally forever. This was great when testing to make sure the bitmap stuff was working, but is overkill normally. So instead of always adding small chunks of free space to bitmaps, only start doing it if we go past half of our extent threshold. This will keeps us from creating a bitmap for just one small free extent at the front of the block group, and will make the allocator a little faster as a result. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud