summaryrefslogtreecommitdiff
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-11-26 16:15:16 -0800
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:58 -0400
commit015a739c7c238768fbfa4eea8ea2ebc1a35e7bb1 (patch)
tree837d361510ce5fa58c0f9c4535ea497cfd359c56 /fs/btrfs/extent-tree.c
parenteef1c494a2d4212e13c67d05e9cc3cd1e6dfed5d (diff)
downloadlwn-015a739c7c238768fbfa4eea8ea2ebc1a35e7bb1.tar.gz
lwn-015a739c7c238768fbfa4eea8ea2ebc1a35e7bb1.zip
Btrfs: Handle writeback under high memory pressure better
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r--fs/btrfs/extent-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 39be6baccc36..3c00f967eccb 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -961,7 +961,7 @@ static int find_free_extent(struct btrfs_trans_handle *trans, struct btrfs_root
level = btrfs_header_level(root->node);
- if (num_bytes >= 96 * 1024 * 1024 && hint_byte) {
+ if (num_bytes >= 32 * 1024 * 1024 && hint_byte) {
data = BTRFS_BLOCK_GROUP_MIXED;
}