[Pvfs2-cvs] commit by robl in pvfs2-1/src/apps/admin:
pvfs2-genconfig
CVS commit program
cvs at parl.clemson.edu
Wed Oct 18 15:34:11 EDT 2006
Update of /projects/cvsroot/pvfs2-1/src/apps/admin
In directory parlweb1:/tmp/cvs-serv8510/src/apps/admin
Modified Files:
pvfs2-genconfig
Log Message:
add a command line option for slang's new TroveMethod
Index: pvfs2-genconfig
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/apps/admin/pvfs2-genconfig,v
diff -u -w -p -u -r1.62 -r1.63
--- pvfs2-genconfig 13 Sep 2006 20:22:45 -0000 1.62
+++ pvfs2-genconfig 18 Oct 2006 19:34:11 -0000 1.63
@@ -23,6 +23,7 @@ my $opt_metaservers = '';
my $opt_logfile = '';
my $opt_storage = '';
my $opt_trovesync = '1';
+my $opt_trovemethod = 'dbpf';
my $opt_quiet = '';
my $opt_logging = '';
my $opt_logstamp = '';
@@ -198,6 +199,7 @@ sub emit_defaults
print $target "\tClientJobFlowTimeoutSecs $client_job_timeout\n";
print $target "\tClientRetryLimit 5\n";
print $target "\tClientRetryDelayMilliSecs 2000\n";
+ print $target "\tTroveMethod $opt_trovemethod\n";
print $target "</Defaults>\n";
}
@@ -459,6 +461,7 @@ Usage: pvfs2-genconfig [OPTIONS] <fs.con
--notrovesync sync metadata only upon request
--server-job-timeout <NUM> server job timeout value (seconds)
--client-job-timeout <NUM> server job timeout value (seconds)
+ --trove-method <STRING> specify a trove method
--first-handle <NUM> first handle value to reserve
--last-handle <NUM> last handle value to reserve
--root-handle <NUM> handle value to reserve for root object
@@ -1116,6 +1119,7 @@ GetOptions('protocol=s' => \$opt_prot
'help' => \$show_help,
'quiet!' => \$opt_quiet,
'trovesync!' => \$opt_trovesync,
+ 'trove-method=s' => \$opt_trovemethod,
'iospec=s' => \$opt_iospec,
'metaspec=s' => \$opt_metaspec,
'spec-usage!' => \$show_specusage,
More information about the Pvfs2-cvs
mailing list