[Pvfs2-cvs] commit by slang in pvfs2/src/client/sysint: client-state-machine.c

CVS commit program cvs at parl.clemson.edu
Wed Jul 2 15:44:17 EDT 2008


Update of /projects/cvsroot/pvfs2/src/client/sysint
In directory parlweb1:/tmp/cvs-serv5544/src/client/sysint

Modified Files:
      Tag: he-branch
	client-state-machine.c 
Log Message:
mo' changes, bug fixes to hints/events.  Fixed encoding bug for hints.


Index: client-state-machine.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/client-state-machine.c,v
diff -p -u -r1.95.2.1 -r1.95.2.2
--- client-state-machine.c	21 May 2008 18:55:03 -0000	1.95.2.1
+++ client-state-machine.c	2 Jul 2008 19:44:17 -0000	1.95.2.2
@@ -26,6 +26,7 @@
 #include "ncache.h"
 #include "acache.h"
 #include "pint-event.h"
+#include "pint-hint.h"
 
 #define MAX_RETURNED_JOBS   256
 
@@ -364,6 +365,8 @@ PVFS_error PINT_client_state_machine_pos
     job_status_s js;
     int pvfs_sys_op __attribute__((unused)) = PINT_smcb_op(smcb);
     PINT_client_sm *sm_p = PINT_sm_frame(smcb, PINT_FRAME_CURRENT);
+
+    PVFS_hint_add_internal(&sm_p->hints, PINT_HINT_OP_ID, sizeof(pvfs_sys_op), &pvfs_sys_op);
 
     PINT_EVENT_START(PINT_client_sys_event_id, pint_client_pid, NULL, &sm_p->event_id,
                      PINT_HINT_GET_CLIENT_ID(sm_p->hints),



More information about the Pvfs2-cvs mailing list