[Pvfs2-cvs] commit by slang in pvfs2/src/server:
mgmt-remove-dirent.sm pvfs2-server.c
CVS commit program
cvs at parl.clemson.edu
Thu Apr 5 10:59:22 EDT 2007
Update of /projects/cvsroot/pvfs2/src/server
In directory parlweb1:/tmp/cvs-serv32307/src/server
Modified Files:
mgmt-remove-dirent.sm pvfs2-server.c
Log Message:
[phil]: patches from phil. Committed with mods. See:
http://www.beowulf-underground.org/pipermail/pvfs2-developers/2007-March/003255.html
Index: mgmt-remove-dirent.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/server/mgmt-remove-dirent.sm,v
diff -p -u -r1.10 -r1.11
--- mgmt-remove-dirent.sm 17 Feb 2007 21:16:48 -0000 1.10
+++ mgmt-remove-dirent.sm 5 Apr 2007 14:59:22 -0000 1.11
@@ -113,7 +113,7 @@ static int mgmt_remove_dirent(
s_op->u.mgmt_remove_dirent.dirdata_handle,
&s_op->key,
NULL,
- TROVE_SYNC,
+ TROVE_SYNC | TROVE_KEYVAL_HANDLE_COUNT,
NULL,
s_op,
0,
Index: pvfs2-server.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/server/pvfs2-server.c,v
diff -p -u -r1.235 -r1.236
--- pvfs2-server.c 29 Mar 2007 14:20:44 -0000 1.235
+++ pvfs2-server.c 5 Apr 2007 14:59:22 -0000 1.236
@@ -96,6 +96,8 @@ static pid_t server_controlling_pid = 0;
static QLIST_HEAD(posted_sop_list);
/* A list of all serv_op's posted for expected messages alone */
static QLIST_HEAD(inprogress_sop_list);
+/* A list of all serv_op's that are started automatically without requests */
+static QLIST_HEAD(noreq_sop_list);
/* this is used externally by some server state machines */
job_context_id server_job_context = -1;
@@ -1911,6 +1913,9 @@ int server_state_machine_start_noreq(PIN
if (new_op)
{
+ /* add to list of state machines started without a request */
+ qlist_add_tail(&new_op->next, &noreq_sop_list);
+
/* execute first state */
ret = PINT_state_machine_invoke(new_op, &tmp_status);
if (ret < 0)
More information about the Pvfs2-cvs
mailing list