Whamcloud - gitweb
b=24194 increase reseed count to mitigate inconsistence in OST allocation
authorhongchao.zhang <hong-chao.zhang@oracle.com>
Mon, 28 Feb 2011 19:38:46 +0000 (03:38 +0800)
committerTerry Rutledge <terry.rutledge@oracle.com>
Thu, 3 Mar 2011 17:15:52 +0000 (09:15 -0800)
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

index 0cb020b..aa96920 100644 (file)
@@ -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)