[PVFS2-CVS] commit by slang in pvfs2/src/client/sysint: sys-io.sm
CVS commit program
cvs at parl.clemson.edu
Wed Sep 28 13:33:14 EDT 2005
Update of /projects/cvsroot/pvfs2/src/client/sysint
In directory parlweb:/tmp/cvs-serv30838/src/client/sysint
Modified Files:
sys-io.sm
Log Message:
committing Pete's fix for setting msgarray_count value getting set in the getattr state machine.
Index: sys-io.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-io.sm,v
diff -p -u -r1.124 -r1.125
--- sys-io.sm 12 Sep 2005 19:15:18 -0000 1.124
+++ sys-io.sm 28 Sep 2005 16:33:13 -0000 1.125
@@ -1068,8 +1068,15 @@ static int io_analyze_results(PINT_clien
if (sm_p->u.io.continue_analysis)
{
sm_p->u.io.continue_analysis = 0;
+ /*
+ * Restore values that were saved across the getattr. Also
+ * put msgarray_count back to whatever it was for the IO (not
+ * the getattr) as this is used later in io_cleanup to decide
+ * which flows are valid and should be freed.
+ */
ret = sm_p->u.io.saved_ret;
js_p->error_code = sm_p->u.io.saved_error_code;
+ sm_p->msgarray_count = sm_p->u.io.datafile_count;
goto post_size_retrieval_continue_analysis;
}
#endif
More information about the PVFS2-CVS
mailing list