Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
bcd039b2
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
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看板
提交
bcd039b2
编写于
11月 18, 2005
作者:
L
Linus Torvalds
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'for-linus' of
git://brick.kernel.dk/data/git/linux-2.6-block
上级
e67b23c7
6f5a0f7c
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
29 addition
and
23 deletion
+29
-23
block/as-iosched.c
block/as-iosched.c
+0
-2
block/cfq-iosched.c
block/cfq-iosched.c
+0
-2
block/deadline-iosched.c
block/deadline-iosched.c
+0
-2
block/elevator.c
block/elevator.c
+0
-2
block/ll_rw_blk.c
block/ll_rw_blk.c
+0
-2
drivers/block/cciss.c
drivers/block/cciss.c
+28
-12
include/linux/cciss_ioctl.h
include/linux/cciss_ioctl.h
+1
-1
未找到文件。
block/as-iosched.c
浏览文件 @
bcd039b2
/*
* linux/drivers/block/as-iosched.c
*
* Anticipatory & deadline i/o scheduler.
*
* Copyright (C) 2002 Jens Axboe <axboe@suse.de>
...
...
block/cfq-iosched.c
浏览文件 @
bcd039b2
/*
* linux/drivers/block/cfq-iosched.c
*
* CFQ, or complete fairness queueing, disk scheduler.
*
* Based on ideas from a previously unfinished io
...
...
block/deadline-iosched.c
浏览文件 @
bcd039b2
/*
* linux/drivers/block/deadline-iosched.c
*
* Deadline i/o scheduler.
*
* Copyright (C) 2002 Jens Axboe <axboe@suse.de>
...
...
block/elevator.c
浏览文件 @
bcd039b2
/*
* linux/drivers/block/elevator.c
*
* Block device elevator/IO-scheduler.
*
* Copyright (C) 2000 Andrea Arcangeli <andrea@suse.de> SuSE
...
...
block/ll_rw_blk.c
浏览文件 @
bcd039b2
/*
* linux/drivers/block/ll_rw_blk.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
* Copyright (C) 1994, Karl Keyte: Added support for disk statistics
* Elevator latency, (C) 2000 Andrea Arcangeli <andrea@suse.de> SuSE
...
...
drivers/block/cciss.c
浏览文件 @
bcd039b2
...
...
@@ -1017,10 +1017,11 @@ static int cciss_ioctl(struct inode *inode, struct file *filep,
status
=
-
ENOMEM
;
goto
cleanup1
;
}
if
(
ioc
->
Request
.
Type
.
Direction
==
XFER_WRITE
&&
copy_from_user
(
buff
[
sg_used
],
data_ptr
,
sz
))
{
if
(
ioc
->
Request
.
Type
.
Direction
==
XFER_WRITE
)
{
if
(
copy_from_user
(
buff
[
sg_used
],
data_ptr
,
sz
))
{
status
=
-
ENOMEM
;
goto
cleanup1
;
goto
cleanup1
;
}
}
else
{
memset
(
buff
[
sg_used
],
0
,
sz
);
}
...
...
@@ -1138,8 +1139,15 @@ static int revalidate_allvol(ctlr_info_t *host)
for
(
i
=
0
;
i
<
NWD
;
i
++
)
{
struct
gendisk
*
disk
=
host
->
gendisk
[
i
];
if
(
disk
->
flags
&
GENHD_FL_UP
)
del_gendisk
(
disk
);
if
(
disk
)
{
request_queue_t
*
q
=
disk
->
queue
;
if
(
disk
->
flags
&
GENHD_FL_UP
)
del_gendisk
(
disk
);
if
(
q
)
blk_cleanup_queue
(
q
);
put_disk
(
disk
);
}
}
/*
...
...
@@ -1453,10 +1461,13 @@ static int deregister_disk(struct gendisk *disk, drive_info_struct *drv,
* allows us to delete disk zero but keep the controller registered.
*/
if
(
h
->
gendisk
[
0
]
!=
disk
){
if
(
disk
->
flags
&
GENHD_FL_UP
){
blk_cleanup_queue
(
disk
->
queue
);
del_gendisk
(
disk
);
drv
->
queue
=
NULL
;
if
(
disk
)
{
request_queue_t
*
q
=
disk
->
queue
;
if
(
disk
->
flags
&
GENHD_FL_UP
)
del_gendisk
(
disk
);
if
(
q
)
blk_cleanup_queue
(
q
);
put_disk
(
disk
);
}
}
...
...
@@ -3225,9 +3236,14 @@ static void __devexit cciss_remove_one (struct pci_dev *pdev)
/* remove it from the disk list */
for
(
j
=
0
;
j
<
NWD
;
j
++
)
{
struct
gendisk
*
disk
=
hba
[
i
]
->
gendisk
[
j
];
if
(
disk
->
flags
&
GENHD_FL_UP
)
{
del_gendisk
(
disk
);
blk_cleanup_queue
(
disk
->
queue
);
if
(
disk
)
{
request_queue_t
*
q
=
disk
->
queue
;
if
(
disk
->
flags
&
GENHD_FL_UP
)
del_gendisk
(
disk
);
if
(
q
)
blk_cleanup_queue
(
q
);
put_disk
(
disk
);
}
}
...
...
include/linux/cciss_ioctl.h
浏览文件 @
bcd039b2
...
...
@@ -10,8 +10,8 @@
typedef
struct
_cciss_pci_info_struct
{
unsigned
char
bus
;
unsigned
short
domain
;
unsigned
char
dev_fn
;
unsigned
short
domain
;
__u32
board_id
;
}
cciss_pci_info_struct
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录