Whamcloud - gitweb
LU-248 increase LOV reseed to mitigate OST allocation inconsitence
authorhongchao.zhang <hongchao.zhang@whamcloud.com>
Tue, 26 Apr 2011 23:56:42 +0000 (07:56 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 31 May 2011 16:03:33 +0000 (09:03 -0700)
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 <hongchao.zhang@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/549
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/lov/lov_qos.c

index 7d8ae11..c1f8c96 100644 (file)
@@ -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)