[PVFS2-CVS] commit by neill in pvfs2-1/src/server: lookup.sm
CVS commit program
cvs at parl.clemson.edu
Mon Mar 29 14:47:44 EST 2004
Update of /projects/cvsroot/pvfs2-1/src/server
In directory parlweb:/tmp/cvs-serv4788/src/server
Modified Files:
lookup.sm
Log Message:
- remove unused extern variable in kernel code
- cleanup some gossip and comments in server side lookup
Index: lookup.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/server/lookup.sm,v
diff -p -u -r1.33 -r1.34
--- lookup.sm 30 Jan 2004 20:12:13 -0000 1.33
+++ lookup.sm 29 Mar 2004 19:47:44 -0000 1.34
@@ -363,7 +363,7 @@ static int lookup_read_directory_entry_h
}
gossip_debug(GOSSIP_SERVER_DEBUG,
- " reading dirent handle value from handle 0x%Lx\n",
+ " reading dirent handle value from handle %Lu\n",
Lu(handle));
s_op->key.buffer = Trove_Common_Keys[DIR_ENT_KEY].key;
@@ -390,14 +390,16 @@ static int lookup_read_directory_entry_h
/*
* Function: lookup_read_directory_entry
*
- * Synopsis: Given a handle for a dspace holding directory entries, look
- * up the current segment and obtain its handle.
+ * Synopsis: Given a handle for a dspace holding directory entries,
+ * look up the current segment and obtain its handle.
*
- * Initializes the key and value structures to direct the handle into the
- * resp handle array. The segment is pointed to by s_op->u.lookup.segp.
+ * Initializes the key and value structures to direct the handle into
+ * the resp handle array. The segment is pointed to by
+ * s_op->u.lookup.segp.
*
- * After initializing the key and value structures, this function increments
- * the seg_nr field so that subsequent operations will occur on the next segment.
+ * After initializing the key and value structures, this function
+ * increments the seg_nr field so that subsequent operations will
+ * occur on the next segment.
*
* Posts the keyval read to trove.
*/
@@ -409,10 +411,10 @@ static int lookup_read_directory_entry(P
PINT_STATE_DEBUG("read_directory_entry");
- gossip_debug(GOSSIP_SERVER_DEBUG,
- " reading from dirent handle = 0x%Lx, segment = %s\n",
- Lu(s_op->u.lookup.dirent_handle),
- s_op->u.lookup.segp);
+ gossip_debug(GOSSIP_SERVER_DEBUG, " reading from dirent handle = "
+ "%Lu, segment = %s (len=%d)\n",
+ Lu(s_op->u.lookup.dirent_handle),
+ s_op->u.lookup.segp, strlen(s_op->u.lookup.segp));
/* initialize keyval prior to read call
*
More information about the PVFS2-CVS
mailing list