Commit 7936ca38 authored by Chris Mason's avatar Chris Mason

Btrfs: Default to 8k max packed tails

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent a6b6e75e
...@@ -2380,7 +2380,7 @@ int btrfs_del_item(struct btrfs_trans_handle *trans, struct btrfs_root *root, ...@@ -2380,7 +2380,7 @@ int btrfs_del_item(struct btrfs_trans_handle *trans, struct btrfs_root *root,
} }
/* delete the leaf if it is mostly empty */ /* delete the leaf if it is mostly empty */
if (0 && used < BTRFS_LEAF_DATA_SIZE(root) / 3) { if (used < BTRFS_LEAF_DATA_SIZE(root) / 3) {
/* push_leaf_left fixes the path. /* push_leaf_left fixes the path.
* make sure the path still points to our leaf * make sure the path still points to our leaf
* for possible call to del_ptr below * for possible call to del_ptr below
......
...@@ -289,7 +289,7 @@ static int dirty_and_release_pages(struct btrfs_trans_handle *trans, ...@@ -289,7 +289,7 @@ static int dirty_and_release_pages(struct btrfs_trans_handle *trans,
*/ */
inline_size = end_pos; inline_size = end_pos;
if (isize >= BTRFS_MAX_INLINE_DATA_SIZE(root) || if (isize >= BTRFS_MAX_INLINE_DATA_SIZE(root) ||
inline_size > 16384 || inline_size > 8192 ||
inline_size >= BTRFS_MAX_INLINE_DATA_SIZE(root)) { inline_size >= BTRFS_MAX_INLINE_DATA_SIZE(root)) {
u64 last_end; u64 last_end;
......
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