[Pvfs2-cvs] commit by kunkel in pvfs2/test/io/buffer: mt_test3.c mt_test2.c test1.c mt_test4.c mt_test1.c trove-init.c

CVS commit program cvs at parl.clemson.edu
Sat Dec 2 06:12:33 EST 2006


Update of /projects/cvsroot/pvfs2/test/io/buffer
In directory parlweb1:/tmp/cvs-serv17506/test/io/buffer

Modified Files:
      Tag: kunkel-hint-branch
	mt_test3.c mt_test2.c test1.c mt_test4.c mt_test1.c 
	trove-init.c 
Log Message:
Upgrade to current CVS version


Index: mt_test3.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/buffer/mt_test3.c,v
diff -p -u -r1.2 -r1.2.44.1
--- mt_test3.c	22 Aug 2003 15:48:48 -0000	1.2
+++ mt_test3.c	2 Dec 2006 11:12:33 -0000	1.2.44.1
@@ -185,7 +185,7 @@ for ( i=0; i< loop; i++ ) {
 #endif
 
     trove_close_context(coll_id, trove_context);
-    trove_finalize();
+    trove_finalize(TROVE_METHOD_DBPF);
 
     return 0;
 }

Index: mt_test2.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/buffer/mt_test2.c,v
diff -p -u -r1.5 -r1.5.20.1
--- mt_test2.c	11 Nov 2005 21:31:15 -0000	1.5
+++ mt_test2.c	2 Dec 2006 11:12:33 -0000	1.5.20.1
@@ -66,7 +66,7 @@ int main(int argc, char * argv[])
         perror("pthread_join"),exit(1);
 
     trove_close_context(coll_id, trove_context);
-    trove_finalize();
+    trove_finalize(TROVE_METHOD_DBPF);
 
     cache_dump_active_list();
     cache_dump_inactive_list();

Index: test1.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/buffer/test1.c,v
diff -p -u -r1.1 -r1.1.44.1
--- test1.c	21 Aug 2003 18:57:28 -0000	1.1
+++ test1.c	2 Dec 2006 11:12:33 -0000	1.1.44.1
@@ -77,7 +77,7 @@ int main(int argc, char * argv[])
 #endif
 
     trove_close_context(coll_id, trove_context);
-    trove_finalize();
+    trove_finalize(TROVE_METHOD_DBPF);
 
     return 0;
 }

Index: mt_test4.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/buffer/mt_test4.c,v
diff -p -u -r1.2 -r1.2.44.1
--- mt_test4.c	22 Aug 2003 15:48:48 -0000	1.2
+++ mt_test4.c	2 Dec 2006 11:12:33 -0000	1.2.44.1
@@ -76,7 +76,7 @@ int main(int argc, char * argv[])
     //cache_dump_inactive_list();
 
     trove_close_context(coll_id, trove_context);
-    trove_finalize();
+    trove_finalize(TROVE_METHOD_DBPF);
 
     return 0;
 }

Index: mt_test1.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/buffer/mt_test1.c,v
diff -p -u -r1.4 -r1.4.20.1
--- mt_test1.c	11 Nov 2005 21:31:15 -0000	1.4
+++ mt_test1.c	2 Dec 2006 11:12:33 -0000	1.4.20.1
@@ -66,7 +66,7 @@ int main(int argc, char * argv[])
         perror("pthread_join"),exit(1);
 
     trove_close_context(coll_id, trove_context);
-    trove_finalize();
+    trove_finalize(TROVE_METHOD_DBPF);
 
     //cache_dump_active_list();
     //cache_dump_inactive_list();

Index: trove-init.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/io/buffer/trove-init.c,v
diff -p -u -r1.6.6.1 -r1.6.6.2
--- trove-init.c	25 Sep 2006 12:40:26 -0000	1.6.6.1
+++ trove-init.c	2 Dec 2006 11:12:33 -0000	1.6.6.2
@@ -70,14 +70,16 @@ int trove_init(TROVE_coll_id *coll_id_p,
 	TROVE_ds_state state;
 	TROVE_keyval_s key, val;
 
-    ret = trove_initialize(storage_space, 0, &method_name, 0);
+    ret = trove_initialize(
+	TROVE_METHOD_DBPF, NULL, storage_space, 0);
     if (ret < 0) {
         fprintf(stderr, "initialize failed: run trove-mkfs first.\n");
         return -1;
     }
 
     /* try to look up collection used to store file system */
-    ret = trove_collection_lookup(file_system, &coll_id, NULL, &op_id);
+    ret = trove_collection_lookup(
+	TROVE_METHOD_DBPF, file_system, &coll_id, NULL, &op_id);
     if (ret < 0) {
         fprintf(stderr, "collection lookup failed.\n");
         return -1;



More information about the Pvfs2-cvs mailing list