Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a713dea
)
Don't open files (i.e. directories) on the MDS with O_DIRECT.
author
adilger
<adilger>
Wed, 12 Jun 2002 20:05:47 +0000
(20:05 +0000)
committer
adilger
<adilger>
Wed, 12 Jun 2002 20:05:47 +0000
(20:05 +0000)
lustre/mds/handler.c
patch
|
blob
|
history
diff --git
a/lustre/mds/handler.c
b/lustre/mds/handler.c
index
5098093
..
6f54693
100644
(file)
--- a/
lustre/mds/handler.c
+++ b/
lustre/mds/handler.c
@@
-322,7
+322,7
@@
int mds_open(struct ptlrpc_request *req)
}
flags = body->flags;
- file = dentry_open(de, mnt, flags);
+ file = dentry_open(de, mnt, flags
& ~O_DIRECT
);
if (!file || IS_ERR(file)) {
req->rq_status = -EINVAL;
OBD_FREE(mfd, sizeof(*mfd));