Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
a82416da
cloud-kernel
项目概览
openanolis
/
cloud-kernel
接近 2 年 前同步成功
通知
169
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
a82416da
编写于
1月 14, 2011
作者:
N
Nick Piggin
提交者:
Nick Piggin
1月 14, 2011
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fs: small rcu-walk documentation fixes
Signed-off-by:
N
Nick Piggin
<
npiggin@kernel.dk
>
上级
b3e19d92
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
6 addition
and
6 deletion
+6
-6
Documentation/filesystems/porting
Documentation/filesystems/porting
+4
-4
Documentation/filesystems/vfs.txt
Documentation/filesystems/vfs.txt
+2
-2
未找到文件。
Documentation/filesystems/porting
浏览文件 @
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
浏览文件 @
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
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录