]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
rxperf: -S takes an argument
authorSimon Wilkinson <sxw@your-file-system.com>
Sat, 14 May 2011 07:37:31 +0000 (08:37 +0100)
committerStephan Wiesand <stephan.wiesand@desy.de>
Mon, 10 Dec 2012 13:53:39 +0000 (05:53 -0800)
The -S option to rxperf (which permits the maximum number of server
threads to be set) takes a parameter. Update the getopt string so
that we can give it one.

Reviewed-on: http://gerrit.openafs.org/4801
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
(cherry picked from commit 80b3648e6d8fd96bdb57d47e56b28b30e42eb303)

Change-Id: Ic1a8264d0471e9458ade11af00ed78871b390b34
Reviewed-on: http://gerrit.openafs.org/8423
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Stephan Wiesand <stephan.wiesand@desy.de>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/rx/test/rxperf.c

index 3f4a918f0fe7b403db2d65dd47e5dc3a98bef2af..ffbf0c167a3b970e402186cab09777326d7abd72 100644 (file)
@@ -950,7 +950,7 @@ rxperf_server(int argc, char **argv)
     char *ptr;
     int ch;
 
-    while ((ch = getopt(argc, argv, "r:d:p:P:w:W:HNjm:u:4:s:SV")) != -1) {
+    while ((ch = getopt(argc, argv, "r:d:p:P:w:W:HNjm:u:4:s:S:V")) != -1) {
        switch (ch) {
        case 'd':
 #ifdef RXDEBUG