cluster/dlm/tests/usertest flood.c
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.
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 ;