summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2012-08-14 16:20:52 -0400
committerChris Mason <chris.mason@fusionio.com>2012-10-01 15:19:02 -0400
commit54338b5cc4fa3cfe260e8e4ade8b62a9079ea3f9 (patch)
treea522e7606064efdfe51b444c5c8cec158c9ca2f6 /fs/btrfs/inode.c
parent7c735313bd1277c2eb28421934d4c7a0fa7339f7 (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