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
/
llite
/
vvp_io.c
diff --git
a/lustre/llite/vvp_io.c
b/lustre/llite/vvp_io.c
index
9de5f9b
..
c0dad2d
100644
(file)
--- a/
lustre/llite/vvp_io.c
+++ b/
lustre/llite/vvp_io.c
@@
-541,6
+541,8
@@
static int vvp_io_rw_lock(const struct lu_env *env, struct cl_io *io,
if (io->u.ci_rw.rw_nonblock)
ast_flags |= CEF_NONBLOCK;
+ if (io->ci_lock_no_expand)
+ ast_flags |= CEF_LOCK_NO_EXPAND;
result = vvp_mmap_locks(env, io);
if (result == 0)