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-15399 llite: dont restart directIO with IOCB_NOWAIT
[fs/lustre-release.git]
/
lustre
/
obdclass
/
cl_io.c
diff --git
a/lustre/obdclass/cl_io.c
b/lustre/obdclass/cl_io.c
index
6c7e7e4
..
18468e1
100644
(file)
--- a/
lustre/obdclass/cl_io.c
+++ b/
lustre/obdclass/cl_io.c
@@
-796,7
+796,7
@@
int cl_io_loop(const struct lu_env *env, struct cl_io *io)
if (rc && !result)
result = rc;
- if (result == -EAGAIN && io->ci_ndelay) {
+ if (result == -EAGAIN && io->ci_ndelay
&& !io->ci_iocb_nowait
) {
io->ci_need_restart = 1;
result = 0;
}