From: hongchao.zhang Date: Mon, 28 Feb 2011 19:38:46 +0000 (+0800) Subject: b=24194 increase reseed count to mitigate inconsistence in OST allocation X-Git-Tag: 1.8.5.55~3 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=4cd376ac299ef9a885488dc8eeb8762ae55ae943;p=fs%2Flustre-release.git 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 --- 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)