[Pvfs2-cvs] commit by robl in pvfs2-1/src/common/misc:
msgpairarray.sm
CVS commit program
cvs at parl.clemson.edu
Tue May 30 18:34:06 EDT 2006
Update of /projects/cvsroot/pvfs2-1/src/common/misc
In directory parlweb1:/tmp/cvs-serv26042/src/common/misc
Modified Files:
msgpairarray.sm
Log Message:
[pcarns]: save sucessful-but-indicates-error responses for each msgpair, so
that the problem will show up in EDETAIL (if possible) instead of as a
generic problem with all servers
Index: msgpairarray.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/common/misc/msgpairarray.sm,v
diff -u -w -p -u -r1.34 -r1.35
--- msgpairarray.sm 26 May 2006 23:21:27 -0000 1.34
+++ msgpairarray.sm 30 May 2006 22:34:06 -0000 1.35
@@ -529,16 +529,15 @@ static int msgpairarray_completion_fn(PA
if (ret != 0)
{
PVFS_perror_gossip("msgpairarray decode error", ret);
- js_p->error_code = ret;
- return 1;
+ msg_p->op_status = ret;
}
-
- assert(resp_p->status <= 0);
-
+ else
+ {
/* if we've made it this far, the server response status is
* meaningful, so we save it.
*/
msg_p->op_status = resp_p->status;
+ }
/* NOTE: we call the function associated with each message,
* not just the one from the first array element. so
More information about the Pvfs2-cvs
mailing list