From 7d230913fe7b22ccaa79760293499f3c6ff31606 Mon Sep 17 00:00:00 2001 From: tappro Date: Sun, 8 Oct 2006 14:21:14 +0000 Subject: [PATCH] - set placement policy to balanced algorithm from stressed --- lustre/lmv/lmv_obd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index 5a66ca7..a396430 100644 --- 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; -- 1.8.3.1