]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: do not allocate chunks as agressively
authorJosef Bacik <jbacik@fusionio.com>
Tue, 14 Aug 2012 20:20:52 +0000 (16:20 -0400)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:19:02 +0000 (15:19 -0400)
commit9c5eebe033181e7aa5aa6fb130b92a7b7f356701
treea522e7606064efdfe51b444c5c8cec158c9ca2f6
parent96a7a40d45709470327cd49b0786f625df87d07a
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>
fs/btrfs/extent-tree.c