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-14047 lustre: change EWOULDBLOCK to EAGAIN
[fs/lustre-release.git]
/
lustre
/
llite
/
vvp_page.c
diff --git
a/lustre/llite/vvp_page.c
b/lustre/llite/vvp_page.c
index
fb9c387
..
0bac264
100644
(file)
--- a/
lustre/llite/vvp_page.c
+++ b/
lustre/llite/vvp_page.c
@@
-283,7
+283,7
@@
static void vvp_page_completion_read(const struct lu_env *env,
cl_page_export(env, page, 1);
} else if (vpg->vpg_defer_uptodate) {
vpg->vpg_defer_uptodate = 0;
cl_page_export(env, page, 1);
} else if (vpg->vpg_defer_uptodate) {
vpg->vpg_defer_uptodate = 0;
- if (ioret == -E
WOULDBLOCK
) {
+ if (ioret == -E
AGAIN
) {
/* mirror read failed, it needs to destroy the page
* because subpage would be from wrong osc when trying
* to read from a new mirror
/* mirror read failed, it needs to destroy the page
* because subpage would be from wrong osc when trying
* to read from a new mirror