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
0bd40a71
Commit
0bd40a71
authored
Jul 17, 2008
by
Chris Mason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
btrfs_next_leaf: do readahead when skip_locking is turned on
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
ee6e6504
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
fs/btrfs/ctree.c
fs/btrfs/ctree.c
+2
-1
No files found.
fs/btrfs/ctree.c
View file @
0bd40a71
...
...
@@ -3206,7 +3206,8 @@ int btrfs_next_leaf(struct btrfs_root *root, struct btrfs_path *path)
free_extent_buffer
(
next
);
}
if
(
level
==
1
&&
path
->
locks
[
1
]
&&
path
->
reada
)
if
(
level
==
1
&&
(
path
->
locks
[
1
]
||
path
->
skip_locking
)
&&
path
->
reada
)
reada_for_search
(
root
,
path
,
level
,
slot
,
0
);
next
=
read_node_slot
(
root
,
c
,
slot
);
...
...
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