summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/zlib.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2015-10-02 16:09:42 -0400
committerChris Mason <clm@fb.com>2015-10-21 18:55:40 -0700
commitcef404837002103584c7c82f1e3fc3ec5961f47b (patch)
tree85707bf5ecc1a773cddbf47e152eb41741b52619 /fs/btrfs/zlib.c
parentc759c4e16179e47e099f491011e6acd7858f8625 (diff)
downloadlinux-cef404837002103584c7c82f1e3fc3ec5961f47b.tar.bz2
Btrfs: keep track of largest extent in bitmaps
We can waste a lot of time searching through bitmaps when we are heavily fragmented trying to find large contiguous areas that don't exist in the bitmap. So keep track of the max extent size when we do a full search of a bitmap so that next time around we can just skip the expensive searching if our max size is less than what we are looking for. Thanks, Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/zlib.c')
0 files changed, 0 insertions, 0 deletions