Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b34e80
)
- set placement policy to balanced algorithm from stressed
author
tappro
<tappro>
Sun, 8 Oct 2006 14:21:14 +0000
(14:21 +0000)
committer
tappro
<tappro>
Sun, 8 Oct 2006 14:21:14 +0000
(14:21 +0000)
lustre/lmv/lmv_obd.c
patch
|
blob
|
history
diff --git
a/lustre/lmv/lmv_obd.c
b/lustre/lmv/lmv_obd.c
index
5a66ca7
..
a396430
100644
(file)
--- a/
lustre/lmv/lmv_obd.c
+++ b/
lustre/lmv/lmv_obd.c
@@
-707,7
+707,7
@@
static int lmv_fids_balanced(struct obd_device *obd)
RETURN(1);
}
-#if
0
+#if
1
static int lmv_all_chars_policy(int count, struct qstr *name)
{
unsigned int c = 0;
@@
-736,7
+736,7
@@
static int lmv_placement_policy(struct obd_device *obd,
* balanced, that is all sequences have more or less equal
* number of objects created. */
if (hint->ph_cname && (hint->ph_opc == LUSTRE_OPC_MKDIR)) {
-#if
0
+#if
1
*mds = lmv_all_chars_policy(lmv->desc.ld_tgt_count,
hint->ph_cname);
rc = 0;