aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-01-03 15:44:57 -0500
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:59 -0400
commit2552488345ea0933711010ee2c844792130a4252 (patch)
tree3327126db2983acbaf948631e4ddf520f1f75ee3 /fs/btrfs/file.c
parentd666746207a01546e55bdaa4b721d1890faaf6e8 (diff)
Btrfs: Lower the max inline size to 8k
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r--fs/btrfs/file.c2
1 files changed, 1 insertions, 1 deletions
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,
303 */ 303 */
304 inline_size = end_pos; 304 inline_size = end_pos;
305 if (isize >= BTRFS_MAX_INLINE_DATA_SIZE(root) || 305 if (isize >= BTRFS_MAX_INLINE_DATA_SIZE(root) ||
306 inline_size > 32768 || 306 inline_size > 8192 ||
307 inline_size >= BTRFS_MAX_INLINE_DATA_SIZE(root)) { 307 inline_size >= BTRFS_MAX_INLINE_DATA_SIZE(root)) {
308 u64 last_end; 308 u64 last_end;
309 u64 existing_delalloc = 0; 309 u64 existing_delalloc = 0;