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
- documentation update for MDS recovery
[fs/lustre-release.git]
/
lustre
/
include
/
linux
/
obd_support.h
diff --git
a/lustre/include/linux/obd_support.h
b/lustre/include/linux/obd_support.h
index
ac82272
..
209e3b9
100644
(file)
--- a/
lustre/include/linux/obd_support.h
+++ b/
lustre/include/linux/obd_support.h
@@
-94,6
+94,8
@@
do { \
if (OBD_FAIL_CHECK(id)) { \
CERROR("obd_fail_loc=%x, fail operation rc=%d\n", id, ret); \
obd_fail_loc |= OBD_FAILED; \
if (OBD_FAIL_CHECK(id)) { \
CERROR("obd_fail_loc=%x, fail operation rc=%d\n", id, ret); \
obd_fail_loc |= OBD_FAILED; \
+ if ((id) & OBD_FAIL_ONCE) \
+ obd_fail_loc |= OBD_FAIL_ONCE; \
RETURN(ret); \
} \
} while(0)
RETURN(ret); \
} \
} while(0)