diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-01-29 16:03:38 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:00 -0400 |
commit | 6f568d35a045dbb8a13fe71bfc32e85e39a986cb (patch) | |
tree | df5cb5826dfb46a2514bfba34f8473dc65ea7081 /fs/btrfs/disk-io.c | |
parent | 291d673e6a22d9c6834e939f66c7cfef90669021 (diff) |
Btrfs: mount -o max_inline=size to control the maximum inline extent size
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index e29a0716f6a9..6647b90ef745 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -659,6 +659,7 @@ struct btrfs_root *open_ctree(struct super_block *sb) | |||
659 | fs_info->throttles = 0; | 659 | fs_info->throttles = 0; |
660 | fs_info->mount_opt = 0; | 660 | fs_info->mount_opt = 0; |
661 | fs_info->max_extent = (u64)-1; | 661 | fs_info->max_extent = (u64)-1; |
662 | fs_info->max_inline = 8192 * 1024; | ||
662 | fs_info->delalloc_bytes = 0; | 663 | fs_info->delalloc_bytes = 0; |
663 | fs_info->btree_inode = new_inode(sb); | 664 | fs_info->btree_inode = new_inode(sb); |
664 | fs_info->btree_inode->i_ino = 1; | 665 | fs_info->btree_inode->i_ino = 1; |