summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-02-06 15:00:57 (GMT)
committerChris Mason <chris.mason@oracle.com>2008-09-25 15:04:00 (GMT)
commit5d196fc15dbe1cc54b81801694aafe218121e054 (patch)
tree62c810e498c3b72f6cc6ea31dfb3c7d433425b26 /fs
parent7261009ceaee65e4683be6e474d1ea85a1b1b26c (diff)
downloadlinux-fsl-qoriq-5d196fc15dbe1cc54b81801694aafe218121e054.tar.xz
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 9e08699..220e9be 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,