summaryrefslogtreecommitdiff
path: root/convert/common.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-02-01 11:42:01 +0100
committerDavid Sterba <dsterba@suse.com>2017-03-08 13:00:46 +0100
commit1f739d73e38a44a51f27e3b84ff50a9b08fcc399 (patch)
tree4f06609ed8be56c522997fc5c0e0e7ab1744c653 /convert/common.c
parent39aa42147a2431fb7f5425dfc3446088d97e8352 (diff)
btrfs-progs: convert: move internal bg size definition
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'convert/common.c')
-rw-r--r--convert/common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/convert/common.c b/convert/common.c
index 7a9b5962..999e0c27 100644
--- a/convert/common.c
+++ b/convert/common.c
@@ -22,6 +22,8 @@
#include "mkfs/common.h"
#include "convert/common.h"
+#define BTRFS_CONVERT_META_GROUP_SIZE SZ_32M
+
/*
* Reserve space from free_tree.
* The algorithm is very simple, find the first cache_extent with enough space