Btrfs: proper -ENOSPC handling
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / btrfs / disk-io.c
index f1e905f7e7018e6f8ab689cd6e5aeb6137785f1c..ece8d1e26b5e94e6c7056b5f1bb6e5f13ffcf089 100644 (file)
@@ -1629,7 +1629,7 @@ struct btrfs_root *open_ctree(struct super_block *sb,
        fs_info->sb = sb;
        fs_info->max_extent = (u64)-1;
        fs_info->max_inline = 8192 * 1024;
-       fs_info->metadata_ratio = 8;
+       fs_info->metadata_ratio = 0;
 
        fs_info->thread_pool_size = min_t(unsigned long,
                                          num_online_cpus() + 2, 8);