Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
4ca9c190
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
4ca9c190
编写于
10月 10, 2005
作者:
S
Steve French
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[CIFS] Fix oops in experimental notify code (when CONFIG_CIFS_EXPERIMENTAL
was turned on). Signed-off-by:
N
Steve French
<
sfrench@us.ibm.com
>
上级
34210f33
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
12 addition
and
1 deletion
+12
-1
fs/cifs/CHANGES
fs/cifs/CHANGES
+2
-1
fs/cifs/README
fs/cifs/README
+2
-0
fs/cifs/cifsfs.c
fs/cifs/cifsfs.c
+4
-0
fs/cifs/fcntl.c
fs/cifs/fcntl.c
+4
-0
未找到文件。
fs/cifs/CHANGES
浏览文件 @
4ca9c190
...
...
@@ -8,7 +8,8 @@ allowing an SMBs TCP length to be up to a few bytes longer than it should be.
wsize and rsize can now be larger than negotiated buffer size if server
supports large readx/writex, even when directio mount flag not specified.
Write size will in many cases now be 16K instead of 4K which greatly helps
file copy performance on lightly loaded networks.
file copy performance on lightly loaded networks. Fix oops in dnotify
when experimental config flag enabled.
Version 1.37
------------
...
...
fs/cifs/README
浏览文件 @
4ca9c190
...
...
@@ -296,6 +296,8 @@ A partial list of the supported mount options follows:
unused.
rsize default read size (usually 16K)
wsize default write size (usually 16K, 32K is often better over GigE)
maximum wsize currently allowed by CIFS is 57344 (14 4096 byte
pages)
rw mount the network share read-write (note that the
server may still consider the share read-only)
ro mount network share read-only
...
...
fs/cifs/cifsfs.c
浏览文件 @
4ca9c190
...
...
@@ -901,6 +901,10 @@ init_cifs(void)
INIT_LIST_HEAD
(
&
GlobalSMBSessionList
);
INIT_LIST_HEAD
(
&
GlobalTreeConnectionList
);
INIT_LIST_HEAD
(
&
GlobalOplock_Q
);
#ifdef CONFIG_CIFS_EXPERIMENTAL
INIT_LIST_HEAD
(
&
GlobalDnotifyReqList
);
INIT_LIST_HEAD
(
&
GlobalDnotifyRsp_Q
);
#endif
/*
* Initialize Global counters
*/
...
...
fs/cifs/fcntl.c
浏览文件 @
4ca9c190
...
...
@@ -78,6 +78,10 @@ int cifs_dir_notify(struct file * file, unsigned long arg)
__u32
filter
=
FILE_NOTIFY_CHANGE_NAME
|
FILE_NOTIFY_CHANGE_ATTRIBUTES
;
__u16
netfid
;
if
(
experimEnabled
==
0
)
return
0
;
xid
=
GetXid
();
cifs_sb
=
CIFS_SB
(
file
->
f_dentry
->
d_sb
);
pTcon
=
cifs_sb
->
tcon
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录