Commit 25524883 authored by Chris Mason's avatar Chris Mason

Btrfs: Lower the max inline size to 8k

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent d6667462
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment