[Pvfs2-cvs] commit by slang in pvfs2/src/io/trove/trove-dbpf: dbpf-thread.c

CVS commit program cvs at parl.clemson.edu
Thu Aug 14 18:11:18 EDT 2008


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

Modified Files:
      Tag: directio-branch
	dbpf-thread.c 
Log Message:
fixes from Phil's comments for timeout values and cond signal/braodcast.


Index: dbpf-thread.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/trove/trove-dbpf/dbpf-thread.c,v
diff -p -u -r1.39.10.3 -r1.39.10.4
--- dbpf-thread.c	14 Aug 2008 17:51:08 -0000	1.39.10.3
+++ dbpf-thread.c	14 Aug 2008 22:11:17 -0000	1.39.10.4
@@ -88,9 +88,9 @@ int dbpf_thread_initialize(void)
     }
 
     io_worker_attrs.type = PINT_WORKER_TYPE_THREADED_QUEUES;
-    io_worker_attrs.u.threaded.thread_count = 32;
+    io_worker_attrs.u.threaded.thread_count = 30;
     io_worker_attrs.u.threaded.ops_per_queue = 10;
-    io_worker_attrs.u.threaded.timeout = 0;
+    io_worker_attrs.u.threaded.timeout = 1000;
     ret = PINT_manager_worker_add(io_thread_mgr, &io_worker_attrs, &io_worker_id);
     if(ret < 0)
     {



More information about the Pvfs2-cvs mailing list