summaryrefslogtreecommitdiff
path: root/kernel/profile.c
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2010-11-09 06:48:01 (GMT)
committerLi Zefan <lizf@cn.fujitsu.com>2011-01-26 17:04:31 (GMT)
commit8eb2d829ffea3677c21bd038f19e5d8ca6b43e36 (patch)
treefc96e4d61125b703df38ee133a3d031f1c85d4a2 /kernel/profile.c
parent65e5341b9a0c39767ae1fecc727d70eda0dd6d83 (diff)
downloadlinux-8eb2d829ffea3677c21bd038f19e5d8ca6b43e36.tar.xz
btrfs: Fix threshold calculation for block groups smaller than 1GB
If a block group is smaller than 1GB, the extent entry threadhold calculation will always set the threshold to 0. So as free space gets fragmented, btrfs will switch to use bitmap to manage free space, but then will never switch back to extents due to this bug. Reviewed-by: Josef Bacik <josef@redhat.com> Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Diffstat (limited to 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions