diff options
author | Josef Bacik <jbacik@fusionio.com> | 2012-08-14 16:20:52 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-10-01 15:19:02 -0400 |
commit | 54338b5cc4fa3cfe260e8e4ade8b62a9079ea3f9 (patch) | |
tree | a522e7606064efdfe51b444c5c8cec158c9ca2f6 /fs/btrfs/inode.c | |
parent | 7c735313bd1277c2eb28421934d4c7a0fa7339f7 (diff) |
Btrfs: do not allocate chunks as agressively
Swinging this pendulum back the other way. We've been allocating chunks up
to 2% of the disk no matter how much we actually have allocated. So instead
fix this calculation to only allocate chunks if we have more than 80% of the
space available allocated. Please test this as it will likely cause all
sorts of ENOSPC problems to pop up suddenly. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/inode.c')
0 files changed, 0 insertions, 0 deletions