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-2173 lod: QoS code to give up if no good OSP found
[fs/lustre-release.git]
/
lustre
/
lod
/
lod_qos.c
diff --git
a/lustre/lod/lod_qos.c
b/lustre/lod/lod_qos.c
index
216555a
..
e5b4565
100644
(file)
--- a/
lustre/lod/lod_qos.c
+++ b/
lustre/lod/lod_qos.c
@@
-1137,6
+1137,11
@@
static int lod_alloc_qos(const struct lu_env *env, struct lod_object *lo,
rc = 0;
break;
}
+
+ if (rc) {
+ /* no OST found on this iteration, give up */
+ break;
+ }
}
if (unlikely(nfound != stripe_cnt)) {