[Pvfs2-cvs] commit by kunkel in pvfs2/src/server: create.sm
pvfs2-server.c
CVS commit program
cvs at parl.clemson.edu
Sat Aug 19 09:09:39 EDT 2006
Update of /projects/cvsroot/pvfs2/src/server
In directory parlweb1:/tmp/cvs-serv3901/src/server
Modified Files:
Tag: kunkel-branch
create.sm pvfs2-server.c
Log Message:
Added PVFS-hint, changed tests for pwrite/odirect/transactions/aio dbpf
support to allow users to explicitly enable or disable the functionality.
In the aio implementation is a bug since somebody else modified it.
Index: create.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/server/create.sm,v
diff -p -u -r1.41 -r1.41.2.1
--- create.sm 13 Jul 2006 05:11:42 -0000 1.41
+++ create.sm 19 Aug 2006 13:09:39 -0000 1.41.2.1
@@ -83,6 +83,13 @@ static int create_create(PINT_server_op
int ret = -1;
job_id_t i;
+ const char * request_id;
+ request_id = PVFS_get_hint( s_op->req->hints,
+ REQUEST_ID);
+ if(request_id != NULL){
+ gossip_err("Request ID received %s\n", request_id);
+ }
+
ret = job_trove_dspace_create(
s_op->req->u.create.fs_id,
&s_op->req->u.create.handle_extent_array,
Index: pvfs2-server.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/server/pvfs2-server.c,v
diff -p -u -r1.218.2.4 -r1.218.2.5
--- pvfs2-server.c 18 Aug 2006 05:12:17 -0000 1.218.2.4
+++ pvfs2-server.c 19 Aug 2006 13:09:39 -0000 1.218.2.5
@@ -23,6 +23,7 @@
#include <ucontext.h>
#endif
+#include "pvfs2-hint.h"
#include "bmi.h"
#include "gossip.h"
#include "job.h"
@@ -1927,6 +1928,8 @@ int server_state_machine_complete(PINT_s
/* release the decoding of the unexpected request */
if (ENCODING_IS_VALID(s_op->decoded.enc_type))
{
+ PVFS_free_hint(& s_op->decoded.stub_dec.req.hints);
+
PINT_decode_release(&(s_op->decoded),PINT_DECODE_REQ);
}
More information about the Pvfs2-cvs
mailing list