Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
d4a78947
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
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看板
提交
d4a78947
编写于
4月 02, 2009
作者:
W
Wu Fengguang
提交者:
Chris Mason
4月 02, 2009
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Btrfs: fix typos in comments
Signed-off-by:
N
Chris Mason
<
chris.mason@oracle.com
>
上级
2e966ed2
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
14 addition
and
12 deletion
+14
-12
fs/btrfs/ctree.h
fs/btrfs/ctree.h
+11
-9
fs/btrfs/locking.c
fs/btrfs/locking.c
+2
-2
fs/btrfs/volumes.h
fs/btrfs/volumes.h
+1
-1
未找到文件。
fs/btrfs/ctree.h
浏览文件 @
d4a78947
...
...
@@ -143,12 +143,15 @@ static int btrfs_csum_sizes[] = { 4, 0 };
#define BTRFS_FT_MAX 9
/*
* the key defines the order in the tree, and so it also defines (optimal)
* block layout. objectid corresonds to the inode number. The flags
* tells us things about the object, and is a kind of stream selector.
* so for a given inode, keys with flags of 1 might refer to the inode
* data, flags of 2 may point to file data in the btree and flags == 3
* may point to extents.
* The key defines the order in the tree, and so it also defines (optimal)
* block layout.
*
* objectid corresponds to the inode number.
*
* type tells us things about the object, and is a kind of stream selector.
* so for a given inode, keys with type of 1 might refer to the inode data,
* type of 2 may point to file data in the btree and type == 3 may point to
* extents.
*
* offset is the starting byte offset for this key in the stream.
*
...
...
@@ -200,7 +203,7 @@ struct btrfs_dev_item {
/*
* starting byte of this partition on the device,
* to allow
r
for stripe alignment in the future
* to allow for stripe alignment in the future
*/
__le64
start_offset
;
...
...
@@ -958,7 +961,6 @@ struct btrfs_root {
};
/*
* inode items have the data typically returned from stat and store other
* info about object characteristics. There is one for every file and dir in
* the FS
...
...
@@ -989,7 +991,7 @@ struct btrfs_root {
#define BTRFS_EXTENT_CSUM_KEY 128
/*
* root items point to tree roots. The
re
are typically in the root
* root items point to tree roots. The
y
are typically in the root
* tree used by the super block to find all the other trees
*/
#define BTRFS_ROOT_ITEM_KEY 132
...
...
fs/btrfs/locking.c
浏览文件 @
d4a78947
...
...
@@ -60,8 +60,8 @@ void btrfs_clear_lock_blocking(struct extent_buffer *eb)
/*
* unfortunately, many of the places that currently set a lock to blocking
* don't end up blocking for
e
very long, and often they don't block
* at all. For a dbench 50 run, if we don't spin on
e
the blocking bit
* don't end up blocking for very long, and often they don't block
* at all. For a dbench 50 run, if we don't spin on the blocking bit
* at all, the context switch rate can jump up to 400,000/sec or more.
*
* So, we're still stuck with this crummy spin on the blocking bit,
...
...
fs/btrfs/volumes.h
浏览文件 @
d4a78947
...
...
@@ -76,7 +76,7 @@ struct btrfs_device {
struct
btrfs_fs_devices
{
u8
fsid
[
BTRFS_FSID_SIZE
];
/* FS specific uuid */
/* the device with this id has the most recent co
yp
of the super */
/* the device with this id has the most recent co
py
of the super */
u64
latest_devid
;
u64
latest_trans
;
u64
num_devices
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录