[Pvfs2-cvs] commit by pw in pvfs2/src/client/sysint: sys-truncate.sm

CVS commit program cvs at parl.clemson.edu
Tue Jul 24 11:48:46 EDT 2007


Update of /projects/cvsroot/pvfs2/src/client/sysint
In directory parlweb1:/tmp/cvs-serv4655/src/client/sysint

Modified Files:
	sys-truncate.sm 
Log Message:
All gossip_debug must be exactly one line due to pre-insertion of timestamp.


Index: sys-truncate.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-truncate.sm,v
diff -u -p -p -u -r1.54 -r1.55
--- sys-truncate.sm	13 Apr 2007 05:14:17 -0000	1.54
+++ sys-truncate.sm	24 Jul 2007 15:48:46 -0000	1.55
@@ -211,12 +211,6 @@ static PINT_sm_action truncate_datafile_
     {
         msg_p = &sm_p->msgarray[i];
 
-        gossip_debug(
-            GOSSIP_CLIENT_DEBUG,
-            "  datafile_truncate: client requests %lld: resizing %lld",
-            lld(sm_p->u.truncate.size),
-            llu(attr->u.meta.dfile_array[i]));
-
         file_data.server_nr = i;
         new_dfile_size = 
             attr->u.meta.dist->methods->logical_to_physical_offset(
@@ -225,7 +219,9 @@ static PINT_sm_action truncate_datafile_
                 sm_p->u.truncate.size);
        
         gossip_debug(GOSSIP_CLIENT_DEBUG,
-                " to %lld bytes\n", lld(new_dfile_size));
+            "  %s: client requests %lld: resizing %lld to %lld bytes\n",
+            __func__, lld(sm_p->u.truncate.size),
+            llu(attr->u.meta.dfile_array[i]), lld(new_dfile_size));
 
         PINT_SERVREQ_TRUNCATE_FILL(
             msg_p->req,



More information about the Pvfs2-cvs mailing list