Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
7936ca38
Commit
7936ca38
authored
Oct 19, 2007
by
Chris Mason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: Default to 8k max packed tails
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
a6b6e75e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fs/btrfs/ctree.c
fs/btrfs/ctree.c
+1
-1
fs/btrfs/file.c
fs/btrfs/file.c
+1
-1
No files found.
fs/btrfs/ctree.c
View file @
7936ca38
...
...
@@ -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 */
if
(
0
&&
used
<
BTRFS_LEAF_DATA_SIZE
(
root
)
/
3
)
{
if
(
used
<
BTRFS_LEAF_DATA_SIZE
(
root
)
/
3
)
{
/* push_leaf_left fixes the path.
* make sure the path still points to our leaf
* for possible call to del_ptr below
...
...
fs/btrfs/file.c
View file @
7936ca38
...
...
@@ -289,7 +289,7 @@ static int dirty_and_release_pages(struct btrfs_trans_handle *trans,
*/
inline_size
=
end_pos
;
if
(
isize
>=
BTRFS_MAX_INLINE_DATA_SIZE
(
root
)
||
inline_size
>
16384
||
inline_size
>
8192
||
inline_size
>=
BTRFS_MAX_INLINE_DATA_SIZE
(
root
))
{
u64
last_end
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment