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
Branch HEAD
[fs/lustre-release.git]
/
lustre
/
obdclass
/
cl_page.c
diff --git
a/lustre/obdclass/cl_page.c
b/lustre/obdclass/cl_page.c
index
d79c6c8
..
5dcf62d
100644
(file)
--- a/
lustre/obdclass/cl_page.c
+++ b/
lustre/obdclass/cl_page.c
@@
-1249,7
+1249,7
@@
void cl_page_completion(const struct lu_env *env,
ENTRY;
CL_PAGE_HEADER(D_TRACE, env, pg, "%i %i\n", crt, ioret);
- if (crt == CRT_READ) {
+ if (crt == CRT_READ
&& ioret == 0
) {
PASSERT(env, pg, !(pg->cp_flags & CPF_READ_COMPLETED));
pg->cp_flags |= CPF_READ_COMPLETED;
}