From: Chris Mason Date: Thu, 3 Jan 2008 20:44:57 +0000 (-0500) Subject: Btrfs: Lower the max inline size to 8k X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~30^2~354 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2552488345ea0933711010ee2c844792130a4252;p=karo-tx-linux.git Btrfs: Lower the max inline size to 8k Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index e862292bdfc6..94c93373cb7d 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -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;