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-16713 llite: writeback/commit pages under memory pressure
[fs/lustre-release.git]
/
lustre
/
llite
/
file.c
diff --git
a/lustre/llite/file.c
b/lustre/llite/file.c
index
c4c7b56
..
1eccf51
100644
(file)
--- a/
lustre/llite/file.c
+++ b/
lustre/llite/file.c
@@
-4809,7
+4809,8
@@
int cl_sync_file_range(struct inode *inode, loff_t start, loff_t end,
ENTRY;
if (mode != CL_FSYNC_NONE && mode != CL_FSYNC_LOCAL &&
- mode != CL_FSYNC_DISCARD && mode != CL_FSYNC_ALL)
+ mode != CL_FSYNC_DISCARD && mode != CL_FSYNC_ALL &&
+ mode != CL_FSYNC_RECLAIM)
RETURN(-EINVAL);
env = cl_env_get(&refcheck);