Btrfs: Lower the max inline size to 8k
authorChris Mason <chris.mason@oracle.com>
Thu, 3 Jan 2008 20:44:57 +0000 (15:44 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:59 +0000 (11:03 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/file.c

index e862292bdfc61d163353b6b5ed976beb4e913a86..94c93373cb7d580197da68599fc7a0357f8a10ae 100644 (file)
@@ -303,7 +303,7 @@ static int noinline dirty_and_release_pages(struct btrfs_trans_handle *trans,
         */
        inline_size = end_pos;
        if (isize >= BTRFS_MAX_INLINE_DATA_SIZE(root) ||
-           inline_size > 32768 ||
+           inline_size > 8192 ||
            inline_size >= BTRFS_MAX_INLINE_DATA_SIZE(root)) {
                u64 last_end;
                u64 existing_delalloc = 0;