[Pvfs2-cvs] commit by rzhong in pvfs2/src/common/misc: server-config.c

CVS commit program cvs at parl.clemson.edu
Fri Jul 25 14:53:13 EDT 2008


Update of /projects/cvsroot/pvfs2/src/common/misc
In directory parlweb1:/tmp/cvs-serv28379/src/common/misc

Modified Files:
      Tag: rongrong
	server-config.c 
Log Message:
set is_rep_master in config to 2 to indicate no replication for mkspace


Index: server-config.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/common/misc/server-config.c,v
diff -p -u -r1.107.2.3 -r1.107.2.4
--- server-config.c	24 Jul 2008 21:24:52 -0000	1.107.2.3
+++ server-config.c	25 Jul 2008 18:53:13 -0000	1.107.2.4
@@ -4175,6 +4175,7 @@ int PINT_config_pvfs2_mkspace(
     ret = trove_collection_setinfo(0, 0, TROVE_MAX_CONCURRENT_IO,
 				   &(config->trove_max_concurrent_io));
     /*Rongrong: for replication*/
+    config->is_rep_master = 2; /*don't start the replication*/
     ret = trove_collection_setinfo(0, 0, TROVE_DB_REP_MASTER,
 				   &(config->is_rep_master));
     /* this should never fail */



More information about the Pvfs2-cvs mailing list