[Pvfs2-cvs] commit by sson in pvfs2/src/common/misc: pint-segpool.c

CVS commit program cvs at parl.clemson.edu
Tue Apr 14 18:18:52 EDT 2009


Update of /projects/cvsroot/pvfs2/src/common/misc
In directory parlweb1:/tmp/cvs-serv20616/src/common/misc

Modified Files:
      Tag: as-branch
	pint-segpool.c 
Log Message:
modified segpool_init() to set proper file_request_state
and some bugs in the io.sm file.
now it is working without errors.



Index: pint-segpool.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/common/misc/Attic/pint-segpool.c,v
diff -p -u -r1.1.2.1.2.4 -r1.1.2.1.2.5
--- pint-segpool.c	14 Apr 2009 20:19:48 -0000	1.1.2.1.2.4
+++ pint-segpool.c	14 Apr 2009 22:18:52 -0000	1.1.2.1.2.5
@@ -49,7 +49,8 @@ int PINT_segpool_init(
     PINT_REQUEST_STATE_SET_TARGET(handle->file_req_state, request_offset);
     if(aggregate_size > -1)
     {
-        PINT_REQUEST_STATE_SET_FINAL(handle->file_req_state, request_offset);
+        PINT_REQUEST_STATE_SET_FINAL(handle->file_req_state, 
+				     aggregate_size+request_offset);
     }
     else
     {



More information about the Pvfs2-cvs mailing list