From 4f50bbfa20b8cfdf13c2647cfae057285df9e9e8 Mon Sep 17 00:00:00 2001 From: "hongchao.zhang" Date: Wed, 27 Apr 2011 07:56:42 +0800 Subject: [PATCH] LU-248 increase LOV reseed to mitigate OST allocation inconsitence in lov_qos.c, increase the LOV_CREATE_RESEED_MULT and LOV_CREATE_RESEED_MIN to increase the LOV reseed window to mitigate the inconsistence issue of OST allocation Change-Id: I7e44b9cf23e4ade1fb99a4f5f3537f3c26dece94 Signed-off-by: Hongchao Zhang Reviewed-on: http://review.whamcloud.com/549 Tested-by: Hudson Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Johann Lombardi --- 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 7d8ae11..c1f8c96 100644 --- a/lustre/lov/lov_qos.c +++ b/lustre/lov/lov_qos.c @@ -577,8 +577,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