projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d666746
)
Btrfs: Lower the max inline size to 8k
author
Chris Mason
<chris.mason@oracle.com>
Thu, 3 Jan 2008 20:44:57 +0000
(15:44 -0500)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/fs/btrfs/file.c
b/fs/btrfs/file.c
index e862292bdfc61d163353b6b5ed976beb4e913a86..94c93373cb7d580197da68599fc7a0357f8a10ae 100644
(file)
--- 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;