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=15699
[fs/lustre-release.git]
/
lustre
/
lov
/
lov_qos.c
diff --git
a/lustre/lov/lov_qos.c
b/lustre/lov/lov_qos.c
index
08aa238
..
5ad5848
100644
(file)
--- a/
lustre/lov/lov_qos.c
+++ b/
lustre/lov/lov_qos.c
@@
-693,9
+693,13
@@
repeat_find:
if (OBD_FAIL_CHECK(OBD_FAIL_MDS_OSC_PRECREATE) && ost_idx == 0)
continue;
if (OBD_FAIL_CHECK(OBD_FAIL_MDS_OSC_PRECREATE) && ost_idx == 0)
continue;
- /* Drop slow OSCs if we can, but not for requested start idx */
+ /* Drop slow OSCs if we can, but not for requested start idx.
+ *
+ * This means "if OSC is slow and it is not the requested
+ * start OST, then it can be skipped, otherwise skip it only
+ * if it is inactive/recovering/out-of-space." */
if ((obd_precreate(lov->lov_tgts[ost_idx]->ltd_exp) > speed) &&
if ((obd_precreate(lov->lov_tgts[ost_idx]->ltd_exp) > speed) &&
- (i != 0 || speed
<
2))
+ (i != 0 || speed
>=
2))
continue;
*idx_pos = ost_idx;
continue;
*idx_pos = ost_idx;