]> git.karo-electronics.de Git - linux-beck.git/blobdiff - fs/btrfs/volumes.c
Btrfs: make metadata chunks smaller
[linux-beck.git] / fs / btrfs / volumes.c
index 7eda483d7b5aa0cd5e5bd96d149cca6fe2fc8f16..198cff28766d494f3a919673775fe679d560722f 100644 (file)
@@ -2209,7 +2209,7 @@ static int __btrfs_alloc_chunk(struct btrfs_trans_handle *trans,
                max_chunk_size = 10 * calc_size;
                min_stripe_size = 64 * 1024 * 1024;
        } else if (type & BTRFS_BLOCK_GROUP_METADATA) {
-               max_chunk_size = 4 * calc_size;
+               max_chunk_size = 256 * 1024 * 1024;
                min_stripe_size = 32 * 1024 * 1024;
        } else if (type & BTRFS_BLOCK_GROUP_SYSTEM) {
                calc_size = 8 * 1024 * 1024;