[PVFS2-CVS] commit by robl in pvfs2-1/src/apps/admin: pvfs2-genconfig

CVS commit program cvs at parl.clemson.edu
Thu Apr 21 17:09:25 EDT 2005


Update of /projects/cvsroot/pvfs2-1/src/apps/admin
In directory parlweb:/tmp/cvs-serv7780/src/apps/admin

Modified Files:
	pvfs2-genconfig 
Log Message:
default to syncing metadata and not syncing data


Index: pvfs2-genconfig
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/apps/admin/pvfs2-genconfig,v
diff -u -w -p -u -r1.43 -r1.44
--- pvfs2-genconfig	4 Mar 2005 16:50:11 -0000	1.43
+++ pvfs2-genconfig	21 Apr 2005 20:09:24 -0000	1.44
@@ -224,9 +224,11 @@ sub emit_filesystem
 
     print $target "\t<StorageHints>\n";
     print $target "\t\tHandleRecycleTimeoutSecs $handle_recycle_timeout_seconds\n";
+    # only in special cases would someone want to sync data (failover comes to
+    # mind)  The default thus should be to sync metadata but not sync data.  
     if ($opt_trovesync == 1) {
 	    print $target "\t\tTroveSyncMeta yes\n";
-	    print $target "\t\tTroveSyncData yes\n";
+	    print $target "\t\tTroveSyncData no\n";
     } else {
 	    print $target "\t\tTroveSyncMeta no\n";
 	    print $target "\t\tTroveSyncData no\n";



More information about the PVFS2-CVS mailing list