[Pvfs2-cvs] commit by slang in pvfs2/include: pvfs2-types.h
CVS commit program
cvs at parl.clemson.edu
Thu Mar 15 16:45:34 EST 2007
Update of /projects/cvsroot/pvfs2/include
In directory parlweb1:/tmp/cvs-serv11354/include
Modified Files:
pvfs2-types.h
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: pvfs2-types.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-types.h,v
diff -p -u -r1.139 -r1.140
--- pvfs2-types.h 9 Dec 2006 16:23:32 -0000 1.139
+++ pvfs2-types.h 15 Mar 2007 21:45:33 -0000 1.140
@@ -122,14 +122,14 @@ typedef uint64_t PVFS_handle;
* PVFS2 file systems reachable by a given client.
*/
typedef int32_t PVFS_fs_id;
-typedef int32_t PVFS_ds_position;
+typedef uint64_t PVFS_ds_position;
typedef int32_t PVFS_ds_flags;
#define encode_PVFS_handle encode_uint64_t
#define decode_PVFS_handle decode_uint64_t
#define encode_PVFS_fs_id encode_int32_t
#define decode_PVFS_fs_id decode_int32_t
-#define decode_PVFS_ds_position decode_int32_t
-#define encode_PVFS_ds_position encode_int32_t
+#define decode_PVFS_ds_position decode_uint64_t
+#define encode_PVFS_ds_position encode_uint64_t
/* Basic types used within metadata. */
typedef uint32_t PVFS_uid;
More information about the Pvfs2-cvs
mailing list