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-14072 llite: fix client evicition with DIO
[fs/lustre-release.git]
/
lustre
/
llite
/
rw.c
diff --git
a/lustre/llite/rw.c
b/lustre/llite/rw.c
index
0cee30b
..
0cc784d
100644
(file)
--- a/
lustre/llite/rw.c
+++ b/
lustre/llite/rw.c
@@
-1714,9
+1714,9
@@
int ll_readpage(struct file *file, struct page *vmpage)
*/
if (file->f_flags & O_DIRECT &&
lcc && lcc->lcc_type == LCC_RW &&
- !io->ci_
ignore_lockless
) {
+ !io->ci_
dio_lock
) {
unlock_page(vmpage);
- io->ci_
ignore_lockless
= 1;
+ io->ci_
dio_lock
= 1;
io->ci_need_restart = 1;
RETURN(-ENOLCK);
}