[PVFS2-CVS] commit by robl in pvfs2-1/src/apps/kernel/linux: pvfs2-client-core.c

CVS commit program cvs at parl.clemson.edu
Thu Jan 5 18:29:34 EST 2006


Update of /projects/cvsroot/pvfs2-1/src/apps/kernel/linux
In directory parlweb:/tmp/cvs-serv4125/src/apps/kernel/linux

Modified Files:
	pvfs2-client-core.c 
Log Message:
murali's real fix for the append case: now handles pread/pwrite correctly


Index: pvfs2-client-core.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/apps/kernel/linux/pvfs2-client-core.c,v
diff -u -w -p -u -r1.58 -r1.59
--- pvfs2-client-core.c	20 Dec 2005 00:08:24 -0000	1.58
+++ pvfs2-client-core.c	5 Jan 2006 23:29:33 -0000	1.59
@@ -1452,6 +1452,10 @@ static PVFS_error post_io_request(vfs_re
     }
 #endif /* USE_MMAP_RA_CACHE */
 
+    gossip_debug(GOSSIP_CLIENTCORE_DEBUG, "%s: off %ld size %ld\n",
+            vfs_request->in_upcall.req.io.io_type == PVFS_IO_READ ? "read" : "write",
+            (unsigned long) vfs_request->in_upcall.req.io.offset,
+            (unsigned long) vfs_request->in_upcall.req.io.count);
     ret = PVFS_Request_contiguous(
         (int32_t)vfs_request->in_upcall.req.io.count,
         PVFS_BYTE, &vfs_request->mem_req);



More information about the PVFS2-CVS mailing list