[Pvfs2-cvs] commit by sson in pvfs2/src/proto: PINT-le-bytefield.c
CVS commit program
cvs at parl.clemson.edu
Thu Jun 25 14:56:55 EDT 2009
Update of /projects/cvsroot/pvfs2/src/proto
In directory parlweb1:/tmp/cvs-serv20976/src/proto
Modified Files:
Tag: as-branch
PINT-le-bytefield.c
Log Message:
Implemented kmeans algorithm based on the state machine, kmeans.sm.
There are two supporting state machines for this: allreduce.sm and bcast.sm.
The simple1_unaligned.c file is updated for testing kmeans.
Sample input file (edge17695.bin) for testing kmeans algorithm is added.
Index: PINT-le-bytefield.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/proto/PINT-le-bytefield.c,v
diff -p -u -r1.58.6.4 -r1.58.6.5
--- PINT-le-bytefield.c 17 Jun 2009 20:12:46 -0000 1.58.6.4
+++ PINT-le-bytefield.c 25 Jun 2009 18:56:55 -0000 1.58.6.5
@@ -157,7 +157,7 @@ static void lebf_initialize(void)
break;
case PVFS_SERV_UNSTUFF:
resp.u.unstuff.attr.mask = 0;
- respsize = extra_size_PVFS_servresp_getattr;
+ respsize = extra_size_PVFS_servresp_unstuff;
break;
case PVFS_SERV_SETATTR:
req.u.setattr.attr.mask = 0;
@@ -210,7 +210,7 @@ static void lebf_initialize(void)
case PVFS_SERV_READ_COMPLETION: /* AS: FIXME */
/* only a response, but nothing special there */
noreq = 1; /* AS: this is required; otherwise lebf_encode_req() will complain. */
- respsize = 8; /* AS: not sure this is correct value */
+ respsize = 40; /* AS: not sure this is correct value */
break; /* AS */
case PVFS_SERV_MGMT_PERF_MON:
resp.u.mgmt_perf_mon.perf_array_count = 0;
More information about the Pvfs2-cvs
mailing list