[Pvfs2-cvs] commit by slang in pvfs2/src/client/sysint: sys-list-eattr.sm sys-readdir.sm

CVS commit program cvs at parl.clemson.edu
Thu Mar 15 16:45:21 EST 2007


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

Modified Files:
	sys-list-eattr.sm sys-readdir.sm 
Log Message:
Changed PVFS_ds_position from int32_t to uint64_t, allowing us to remove DB_RECNUM flag from our databases.  

Also changed the dspace comparison function to read the dspace db front to back instead of back to front.

Also changed the dspace_iterate_handles code to use DB_MULTIPLE to improve
server startup times.


Index: sys-list-eattr.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-list-eattr.sm,v
diff -p -u -r1.6 -r1.7
--- sys-list-eattr.sm	17 Feb 2007 21:16:45 -0000	1.6
+++ sys-list-eattr.sm	15 Mar 2007 21:45:21 -0000	1.7
@@ -224,7 +224,7 @@ static int list_eattr_comp_fn(
     else
     {
         gossip_debug(GOSSIP_LISTEATTR_DEBUG,"listeattr returned %d keys\n",
-                sm_p->u.listeattr.resp_p->token);
+                sm_p->u.listeattr.resp_p->nkey);
         /* Copy the token and reset it */
         sm_p->u.listeattr.resp_p->nkey = sm_p->u.listeattr.resp_p->token;
         sm_p->u.listeattr.resp_p->token = PVFS_ITERATE_START;

Index: sys-readdir.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/client/sysint/sys-readdir.sm,v
diff -p -u -r1.49 -r1.50
--- sys-readdir.sm	17 Feb 2007 21:16:45 -0000	1.49
+++ sys-readdir.sm	15 Mar 2007 21:45:21 -0000	1.50
@@ -239,10 +239,10 @@ static int readdir_msg_setup_msgpair(PIN
     gossip_debug(GOSSIP_READDIR_DEBUG," readdir: posting readdir req\n");
 
     gossip_debug(
-        GOSSIP_READDIR_DEBUG, "%llu|%d | token is %d | limit is %d\n",
+        GOSSIP_READDIR_DEBUG, "%llu|%d | token is %llu | limit is %d\n",
         llu(sm_p->object_ref.handle),
         sm_p->object_ref.fs_id,
-        sm_p->readdir.pos_token,
+        llu(sm_p->readdir.pos_token),
         sm_p->readdir.dirent_limit);
 
     PINT_init_msgpair(sm_p, msg_p);



More information about the Pvfs2-cvs mailing list