[Pvfs2-cvs] commit by pcarns in pvfs2-1/src/io/trove: trove-mgmt.c

CVS commit program cvs at parl.clemson.edu
Thu Dec 11 13:37:33 EST 2008


Update of /projects/cvsroot/pvfs2-1/src/io/trove
In directory parlweb1:/tmp/cvs-serv11654/src/io/trove

Modified Files:
	trove-mgmt.c 
Log Message:
Reorganized so that mgmt infrastructure is not started unless the directio
method is activated.  The resulting threads consume cpu time even when unused.


Index: trove-mgmt.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/io/trove/trove-mgmt.c,v
diff -p -u -r1.31 -r1.32
--- trove-mgmt.c	11 Nov 2008 19:25:57 -0000	1.31
+++ trove-mgmt.c	11 Dec 2008 18:37:33 -0000	1.32
@@ -17,6 +17,7 @@ TROVE_method_callback global_trove_metho
 static TROVE_method_id TROVE_default_method(TROVE_coll_id id);
 
 extern struct TROVE_mgmt_ops dbpf_mgmt_ops;
+extern struct TROVE_mgmt_ops dbpf_mgmt_direct_ops;
 extern struct TROVE_dspace_ops dbpf_dspace_ops;
 extern struct TROVE_keyval_ops dbpf_keyval_ops;
 extern struct TROVE_bstream_ops dbpf_bstream_ops;
@@ -32,7 +33,7 @@ struct TROVE_mgmt_ops *mgmt_method_table
     &dbpf_mgmt_ops,
     &dbpf_mgmt_ops, /* alt-aio */
     &dbpf_mgmt_ops, /* null-aio */
-    &dbpf_mgmt_ops  /* direct-io */
+    &dbpf_mgmt_direct_ops  /* direct-io */
 
 };
 



More information about the Pvfs2-cvs mailing list