From: hongchao.zhang Date: Tue, 26 Apr 2011 23:56:42 +0000 (+0800) Subject: LU-248 increase LOV reseed to mitigate OST allocation inconsitence X-Git-Tag: 2.0.62.0~23 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=4f50bbfa20b8cfdf13c2647cfae057285df9e9e8 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 --- 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)