Btrfs: balance btree more often
authorChris Mason <chris.mason@oracle.com>
Mon, 18 May 2009 14:41:58 +0000 (10:41 -0400)
committerChris Mason <chris.mason@oracle.com>
Wed, 10 Jun 2009 15:29:47 +0000 (11:29 -0400)
commitcfbb9308463f6dad1334884db046ccf0f1a77918
tree12faa0d785c3e3adec21770db7112514d834f77b
parentb36124210248706186a02093427bdff4b3f548e8
Btrfs: balance btree more often

With the new back reference code, the cost of a balance has gone down
in terms of the number of back reference updates done.  This commit
makes us more aggressively balance leaves and nodes as they become
less full.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.c