aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-02-06 10:00:57 -0500
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:00 -0400
commit5d196fc15dbe1cc54b81801694aafe218121e054 (patch)
tree62c810e498c3b72f6cc6ea31dfb3c7d433425b26 /fs
parent7261009ceaee65e4683be6e474d1ea85a1b1b26c (diff)
Btrfs: Use 2MB as the empty_size for clustered allocations
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs')
-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 9e0869959cd..220e9be9ad8 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -1476,7 +1476,7 @@ check_failed:
if (last_ptr && *last_ptr && search_start != *last_ptr) {
*last_ptr = 0;
if (!empty_size) {
- empty_size += 16 * 1024 * 1024;
+ empty_size += 2 * 1024 * 1024;
total_needed += empty_size;
}
search_start = find_search_start(root, &block_group,