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
b=19047
[fs/lustre-release.git]
/
lustre
/
lov
/
lov_qos.c
diff --git
a/lustre/lov/lov_qos.c
b/lustre/lov/lov_qos.c
index
084e2f2
..
7842f8f
100644
(file)
--- a/
lustre/lov/lov_qos.c
+++ b/
lustre/lov/lov_qos.c
@@
-1088,6
+1088,10
@@
int qos_prep_create(struct obd_export *exp, struct lov_request_set *set)
if (stripes < lsm->lsm_stripe_count)
qos_shrink_lsm(set);
+ if (OBD_FAIL_CHECK(OBD_FAIL_MDS_LOV_PREP_CREATE)) {
+ qos_shrink_lsm(set);
+ rc = -EIO;
+ }
if (oti && (src_oa->o_valid & OBD_MD_FLCOOKIE)) {
oti_alloc_cookies(oti, set->set_count);