Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-6179 llite: Implement ladvise lockahead
[fs/lustre-release.git]
/
lustre
/
obdclass
/
cl_lock.c
diff --git
a/lustre/obdclass/cl_lock.c
b/lustre/obdclass/cl_lock.c
index
e92dbaf
..
83a3e8f
100644
(file)
--- a/
lustre/obdclass/cl_lock.c
+++ b/
lustre/obdclass/cl_lock.c
@@
-200,7
+200,7
@@
int cl_lock_request(const struct lu_env *env, struct cl_io *io,
if (rc < 0)
RETURN(rc);
- if ((enq_flags & CEF_
ASYNC) && !(enq_flags & CEF_AGL
)) {
+ if ((enq_flags & CEF_
GLIMPSE) && !(enq_flags & CEF_SPECULATIVE
)) {
anchor = &cl_env_info(env)->clt_anchor;
cl_sync_io_init(anchor, 1, cl_sync_io_end);
}