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-2152 iam: it->load fix
[fs/lustre-release.git]
/
lustre
/
obdclass
/
dt_object.c
diff --git
a/lustre/obdclass/dt_object.c
b/lustre/obdclass/dt_object.c
index
ce0f45a
..
2465179
100644
(file)
--- a/
lustre/obdclass/dt_object.c
+++ b/
lustre/obdclass/dt_object.c
@@
-675,6
+675,11
@@
static int dt_index_page_build(const struct lu_env *env, union lu_page *lp,
hash = iops->store(env, it);
ii->ii_hash_end = hash;
+ if (OBD_FAIL_CHECK(OBD_FAIL_OBD_IDX_READ_BREAK)) {
+ if (lip->lip_nr != 0)
+ GOTO(out, rc = 0);
+ }
+
if (nob < size) {
if (lip->lip_nr == 0)
GOTO(out, rc = -EINVAL);