From: Chris Mason Date: Wed, 6 Feb 2008 15:00:57 +0000 (-0500) Subject: Btrfs: Use 2MB as the empty_size for clustered allocations X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~30^2~291 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5d196fc15dbe1cc54b81801694aafe218121e054;p=karo-tx-linux.git Btrfs: Use 2MB as the empty_size for clustered allocations Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 9e0869959cde..220e9be9ad82 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,