[PVFS2-CVS]
commit by wujs in pvfs2/src/io/flow/flowproto-bmi-cache:
flowproto-bmi-cache-server.c
CVS commit program
cvs at parl.clemson.edu
Tue Mar 23 13:52:36 EST 2004
Update of /projects/cvsroot/pvfs2/src/io/flow/flowproto-bmi-cache
In directory parlweb:/tmp/cvs-serv6341/src/io/flow/flowproto-bmi-cache
Modified Files:
flowproto-bmi-cache-server.c
Log Message:
Replace CACHE_ENDPOINT with TROVE_ENDPOINT.
Index: flowproto-bmi-cache-server.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/flow/flowproto-bmi-cache/flowproto-bmi-cache-server.c,v
diff -p -u -r1.8 -r1.9
--- flowproto-bmi-cache-server.c 23 Mar 2004 04:02:20 -0000 1.8
+++ flowproto-bmi-cache-server.c 23 Mar 2004 18:52:36 -0000 1.9
@@ -296,8 +296,8 @@ int fp_bmi_cache_post(flow_descriptor *
fprintf(stderr, "src.endpoint:%d, desc.endpoint:%d\n", flow_d->src.endpoint_id, flow_d->dest.endpoint_id);
assert( (flow_d->src.endpoint_id == BMI_ENDPOINT &&
- flow_d->dest.endpoint_id == CACHE_ENDPOINT) ||
- (flow_d->src.endpoint_id == CACHE_ENDPOINT &&
+ flow_d->dest.endpoint_id == TROVE_ENDPOINT) ||
+ (flow_d->src.endpoint_id == TROVE_ENDPOINT &&
flow_d->dest.endpoint_id == BMI_ENDPOINT) );
/* TODO: seems not right here. coll_id --> trove_context id */
@@ -370,7 +370,7 @@ int fp_bmi_cache_post(flow_descriptor *
* are driven by callbacks.
*/
- if( flow_d->src.endpoint_id == CACHE_ENDPOINT &&
+ if( flow_d->src.endpoint_id == TROVE_ENDPOINT &&
flow_d->dest.endpoint_id == BMI_ENDPOINT )
{
/* CACHE --> BMI flow: read from cache, then send to the
@@ -413,7 +413,7 @@ int fp_bmi_cache_post(flow_descriptor *
}
else if( flow_d->src.endpoint_id == BMI_ENDPOINT &&
- flow_d->dest.endpoint_id == CACHE_ENDPOINT )
+ flow_d->dest.endpoint_id == TROVE_ENDPOINT )
{
/* BMI--->CACHE flow: (1) init requests; (2) check progress;
* later all progress checks are driven by callbacks;
More information about the PVFS2-CVS
mailing list