Displaying 1 result from an estimated 1 matches for "8c26441".
Did you mean:
892641
2010 Dec 12
0
[PATCH] Btrfs: pick the correct metadata allocation size on small devices
...s metadata chunk allocations by considering the proper
metadata chunk size of 200MB in should_alloc_chunk(), not the default 256MB
which is set in __btrfs_alloc_chunk().
Signed-off-by: Itaru Kitayama <kitayama@cl.bb4.ne.jp>
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 8c26441..54ab490 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -3241,6 +3241,8 @@ static int should_alloc_chunk(struct btrfs_root *root,
struct btrfs_space_info *sinfo, u64 alloc_bytes)
{
u64 num_bytes = sinfo->total_bytes - sinfo->bytes_re...