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
a82416da
Commit
a82416da
authored
Jan 14, 2011
by
Nick Piggin
Committed by
Nick Piggin
Jan 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fs: small rcu-walk documentation fixes
Signed-off-by:
Nick Piggin
<
npiggin@kernel.dk
>
parent
b3e19d92
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Documentation/filesystems/porting
Documentation/filesystems/porting
+4
-4
Documentation/filesystems/vfs.txt
Documentation/filesystems/vfs.txt
+2
-2
No files found.
Documentation/filesystems/porting
View file @
a82416da
...
@@ -365,8 +365,8 @@ must be done in the RCU callback.
...
@@ -365,8 +365,8 @@ must be done in the RCU callback.
[recommended]
[recommended]
vfs now tries to do path walking in "rcu-walk mode", which avoids
vfs now tries to do path walking in "rcu-walk mode", which avoids
atomic operations and scalability hazards on dentries and inodes (see
atomic operations and scalability hazards on dentries and inodes (see
Documentation/filesystems/path-
walk.txt). d_hash and d_compare changes (above)
Documentation/filesystems/path-
lookup.txt). d_hash and d_compare changes
are examples of the changes required to support this. For more complex
(above)
are examples of the changes required to support this. For more complex
filesystem callbacks, the vfs drops out of rcu-walk mode before the fs call, so
filesystem callbacks, the vfs drops out of rcu-walk mode before the fs call, so
no changes are required to the filesystem. However, this is costly and loses
no changes are required to the filesystem. However, this is costly and loses
the benefits of rcu-walk mode. We will begin to add filesystem callbacks that
the benefits of rcu-walk mode. We will begin to add filesystem callbacks that
...
@@ -383,5 +383,5 @@ Documentation/filesystems/vfs.txt for more details.
...
@@ -383,5 +383,5 @@ Documentation/filesystems/vfs.txt for more details.
permission and check_acl are inode permission checks that are called
permission and check_acl are inode permission checks that are called
on many or all directory inodes on the way down a path walk (to check for
on many or all directory inodes on the way down a path walk (to check for
exec permission). These must now be rcu-walk aware (flags & IPERM_
RCU). See
exec permission). These must now be rcu-walk aware (flags & IPERM_
FLAG_RCU).
Documentation/filesystems/vfs.txt for more details.
See
Documentation/filesystems/vfs.txt for more details.
Documentation/filesystems/vfs.txt
View file @
a82416da
...
@@ -415,8 +415,8 @@ otherwise noted.
...
@@ -415,8 +415,8 @@ otherwise noted.
permission: called by the VFS to check for access rights on a POSIX-like
permission: called by the VFS to check for access rights on a POSIX-like
filesystem.
filesystem.
May be called in rcu-walk mode (flags & IPERM_RCU). If in rcu-walk
May be called in rcu-walk mode (flags & IPERM_
FLAG_
RCU). If in rcu-walk
mode, the filesystem must check the permission without blocking or
mode, the filesystem must check the permission without blocking or
storing to the inode.
storing to the inode.
If a situation is encountered that rcu-walk cannot handle, return
If a situation is encountered that rcu-walk cannot handle, return
...
...
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