projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7261009
)
Btrfs: Use 2MB as the empty_size for clustered allocations
author
Chris Mason
<chris.mason@oracle.com>
Wed, 6 Feb 2008 15:00:57 +0000
(10:00 -0500)
committer
Chris Mason
<chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:00 +0000
(11:04 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent-tree.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/extent-tree.c
b/fs/btrfs/extent-tree.c
index
9e08699
..
220e9be
100644
(file)
--- 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,