[PVFS2-CVS] commit by pw in pvfs2/src/client/sysint: getattr-acache.sm sys-create.sm

CVS commit program cvs at parl.clemson.edu
Mon Mar 28 13:31:05 EST 2005


Update of /projects/cvsroot/pvfs2/src/client/sysint
In directory parlweb:/tmp/cvs-serv22216/src/client/sysint

Modified Files:
	getattr-acache.sm sys-create.sm 
Log Message:
make error messages say what function they came from


Index: getattr-acache.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/getattr-acache.sm,v
diff -u -p -u -r1.13 -r1.14
--- getattr-acache.sm	18 Oct 2004 17:24:54 -0000	1.13
+++ getattr-acache.sm	28 Mar 2005 18:31:04 -0000	1.14
@@ -103,9 +103,8 @@ static int getattr_acache_lookup(PINT_cl
     assert(object_ref.handle != PVFS_HANDLE_NULL);
     assert(object_ref.fs_id != PVFS_FS_ID_NULL);
 
-    gossip_debug(GOSSIP_CLIENT_DEBUG, "getattr_acache state: lookup "
-                 "on %Lu,%d\n", Lu(object_ref.handle),
-                 object_ref.fs_id);
+    gossip_debug(GOSSIP_ACACHE_DEBUG, "%s: handle %Lu fsid %d\n",
+      __func__, Lu(object_ref.handle), object_ref.fs_id);
 
     /* point msgarray to the statically allocated msgpair */
     if (sm_p->msgarray != &(sm_p->msgpair))

Index: sys-create.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-create.sm,v
diff -u -p -u -r1.72 -r1.73
--- sys-create.sm	21 Dec 2004 17:52:18 -0000	1.72
+++ sys-create.sm	28 Mar 2005 18:31:04 -0000	1.73
@@ -443,7 +443,7 @@ static int create_datafiles_comp_fn(void
 
     if (resp_p->status != 0)
     {
-        gossip_err("Failed to create data handle %d\n",index);
+        gossip_err("%s: Failed to create data handle %d\n", __func__, index);
         PVFS_perror_gossip("Creation failure", resp_p->status);
 	return resp_p->status;
     }



More information about the PVFS2-CVS mailing list