From 4cd376ac299ef9a885488dc8eeb8762ae55ae943 Mon Sep 17 00:00:00 2001 From: "hongchao.zhang" Date: Tue, 1 Mar 2011 03:38:46 +0800 Subject: [PATCH] b=24194 increase reseed count to mitigate inconsistence in OST allocation in alloc_rr, "LOV_CREATE_RESEED_MULT" and "LOV_CREATE_RESEED_MIN" is increased to mitigate the inconsistence in OST allocation. i=johann i=andreas.dilger --- lustre/lov/lov_qos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/lov/lov_qos.c b/lustre/lov/lov_qos.c index 0cb020b..aa96920 100644 --- a/lustre/lov/lov_qos.c +++ b/lustre/lov/lov_qos.c @@ -521,8 +521,8 @@ static int min_stripe_count(int stripe_cnt, int flags) stripe_cnt - (stripe_cnt / 4) : stripe_cnt); } -#define LOV_CREATE_RESEED_MULT 4 -#define LOV_CREATE_RESEED_MIN 1000 +#define LOV_CREATE_RESEED_MULT 30 +#define LOV_CREATE_RESEED_MIN 2000 /* Allocate objects on osts with round-robin algorithm */ static int alloc_rr(struct lov_obd *lov, int *idx_arr, int *stripe_cnt, char *poolname, int flags) -- 1.8.3.1