Skip to contentSkip to conversation

cluster/dlm/tests/usertest flood.c

Cluster-devel [email protected] 1 participant 1 message Mar 27, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at sourceware.org 2007-03-27 16:17:03

Modified files:
dlm/tests/usertest: flood.c

Log message:
Actually, MAX_INT is a bit of a bad idea under this new system.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm/tests/usertest/flood.c.diff?cvsroot=cluster&r1=1.3&r2=1.4

dlm/tests/usertest/flood.c +2 -2
@@ -34,7 +34,7 @@
     fprintf(file, "\n");
     fprintf(file, "   -V         Show version of %s\n", prog);
     fprintf(file, "   -h         Show this help information\n");
-    fprintf(file, "   -m <num>   Maximum number of locks to hold (default MAX_INT)\n");
+    fprintf(file, "   -m <num>   Maximum number of locks to hold (default 100000)\n");
     fprintf(file, "   -i <num>   Show progress in <n> increments (default 1000)\n");
     fprintf(file, "   -n <num>   Number of resources (default 10)\n");
     fprintf(file, "   -q         Quit\n");
@@ -62,7 +62,7 @@
 {
     int  flags = 0;
     int  lockops = 0;
-    int  maxlocks = INT_MAX;
+    int  maxlocks = 100000;
     int  rescount = 10;
     int  increment = 1000;
     int  quiet = 0;