[PVFS2-CVS]
commit by neill in pvfs2/src/io/trove/trove-dbpf: dbpf-dspace.c
CVS commit program
cvs at parl.clemson.edu
Mon Oct 18 14:24:55 EDT 2004
Update of /projects/cvsroot/pvfs2/src/io/trove/trove-dbpf
In directory parlweb:/tmp/cvs-serv27036/src/io/trove/trove-dbpf
Modified Files:
dbpf-dspace.c
Log Message:
- gossip/debugging cleanups
Index: dbpf-dspace.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/trove/trove-dbpf/dbpf-dspace.c,v
diff -p -u -r1.117 -r1.118
--- dbpf-dspace.c 11 Oct 2004 16:06:50 -0000 1.117
+++ dbpf-dspace.c 18 Oct 2004 17:24:55 -0000 1.118
@@ -706,14 +706,15 @@ static int dbpf_dspace_getattr(TROVE_col
/* fast path cache hit; skips queueing */
if (dbpf_attr_cache_ds_attr_fetch_cached_data(ref, ds_attr_p) == 0)
{
+#if 0
gossip_debug(
- GOSSIP_TROVE_DEBUG, "ATTRIB: dspace_getattr retrieved "
- "attributes from CACHE\n for key %Lu, uid = %d, mode = %d, "
- "type = %d\n dfile_count = %d, dist_size = %d\n",
+ GOSSIP_TROVE_DEBUG, "ATTRIB: retrieved "
+ "attributes from CACHE for key %Lu\n uid = %d, mode = %d, "
+ "type = %d, dfile_count = %d, dist_size = %d\n",
Lu(handle), (int)ds_attr_p->uid, (int)ds_attr_p->mode,
(int)ds_attr_p->type, (int)ds_attr_p->dfile_count,
(int)ds_attr_p->dist_size);
-
+#endif
gossip_debug(GOSSIP_DBPF_ATTRCACHE_DEBUG, "dspace_getattr fast "
"path attr cache hit on %Lu\n (dfile_count=%d | "
"dist_size=%d | data_size=%Ld)\n", Lu(handle),
@@ -819,12 +820,14 @@ static int dbpf_dspace_setattr_op_svc(st
trove_ds_attr_to_stored((*op_p->u.d_setattr.attr_p), s_attr);
+#if 0
gossip_debug(GOSSIP_TROVE_DEBUG, "ATTRIB: dspace_setattr storing "
"attributes (2) on key %Lu\n uid = %d, mode = %d, "
"type = %d, dfile_count = %d, dist_size = %d\n",
Lu(op_p->handle), (int) s_attr.uid, (int) s_attr.mode,
(int) s_attr.type, (int) s_attr.dfile_count,
(int) s_attr.dist_size);
+#endif
ret = tmp_ref.db_p->put(tmp_ref.db_p, NULL, &key, &data, 0);
if (ret != 0)
@@ -948,8 +951,8 @@ static int dbpf_dspace_getattr_op_svc(st
}
gossip_debug(
- GOSSIP_TROVE_DEBUG, "ATTRIB: dspace_getattr retrieved attributes "
- "from DISK\n for key %Lu uid = %d, mode = %d, type = %d\n "
+ GOSSIP_TROVE_DEBUG, "ATTRIB: retrieved attributes "
+ "from DISK for key %Lu\nuid = %d, mode = %d, type = %d\n "
"dfile_count = %d, dist_size = %d, b_size = %Ld, k_size = %Ld\n",
Lu(op_p->handle), (int)s_attr.uid, (int)s_attr.mode,
(int)s_attr.type, (int)s_attr.dfile_count, (int)s_attr.dist_size,
More information about the PVFS2-CVS
mailing list