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-15031 quota: reseed glbe in qmt_lvbo_udate
[fs/lustre-release.git]
/
lustre
/
quota
/
qmt_handler.c
diff --git
a/lustre/quota/qmt_handler.c
b/lustre/quota/qmt_handler.c
index
2ed9051
..
718fbdf
100644
(file)
--- a/
lustre/quota/qmt_handler.c
+++ b/
lustre/quota/qmt_handler.c
@@
-652,6
+652,10
@@
int qmt_dqacq0(const struct lu_env *env, struct qmt_device *qmt,
if (OBD_FAIL_CHECK(OBD_FAIL_QUOTA_RECOVERABLE_ERR))
RETURN(-cfs_fail_val);
+ if (OBD_FAIL_CHECK(OBD_FAIL_QUOTA_PREACQ) &&
+ (req_is_preacq(qb_flags) || req_is_rel(qb_flags)))
+ RETURN(-EAGAIN);
+
if (qti_lqes_restore_init(env))
RETURN(-ENOMEM);